|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
W^X violation issue
Hi,
I have some message in dmesg related to W^X violation for some processes. Theses processes are installed in /usr/local in a have separate partition with wxallowed option. Code:
> dmesg java(28347): mprotect W^X violation java(95393): mprotect W^X violation node(15100): mmap W^X violation java(77900): mprotect W^X violation php-fpm-7.0(95855): mmap W^X violation php-fpm-7.0(40758): mmap W^X violation Code:
> mount /dev/sd0a on / type ffs (local, wxallowed) /dev/sd1d on /usr/local type ffs (local, nodev, wxallowed) Thanks. Last edited by ocicat; 24th December 2016 at 12:01 AM. Reason: Please use [code] & [/code] tags when posting command output. |
|
||||
Welcome!
Are you running 6.0-release or did you install -current (a snapshot)? In -current, permitting W^X violations require two steps, while in -release, only one.
|
|
|||
Thanks,
I am running OpenBSD from install60.iso and nothing else, i don't know if is current or release ? Code:
> dmesg |head -1 OpenBSD 6.0 (GENERIC.MP) #2: Mon Oct 17 10:22:47 CEST 2016 Last edited by ocicat; 24th December 2016 at 12:02 AM. Reason: Please use [code] & [/code] tags when posting command output. |
|
||||
From the minimal information you've posted, that appears to be your own build of a -release kernel, so I assume you are using -release plus one or more published errata patches applied to the kernel.
Are your java applications working, or are they halting and producing *.core files? If they are working, the violations are only being logged as warnings. If the applications are failing, then we must investigate more thoroughly to determine the root cause. --- There are three Flavors of OpenBSD. -release, -stable, and -current. -release is published twice a year and never changes, -stable is the published errata patches and may also include additional minor patches, while -current is the development branch. More information may be found in the OpenBSD FAQ section on Flavors. |
|
|||
You right, i am running last kernel from mtier:
Code:
> dmesg |head -2 OpenBSD 6.0 (GENERIC.MP) #2: Mon Oct 17 10:22:47 CEST 2016 root@stable-60-amd64.mtier.org:/binpatchng/work-binpatch60-amd64/src/sys/arch/amd64/compile/GENERIC.MP Thanks |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
xen 45 issue | philo_neo71 | NetBSD General | 1 | 9th November 2015 11:05 AM |
FTP issue? | desreguard | OpenBSD General | 14 | 29th August 2011 04:21 PM |
VPN Nat issue on 4.8 | copetts | OpenBSD Security | 2 | 12th April 2011 10:34 AM |
Possible SMP Issue? | MetalHead | OpenBSD General | 1 | 25th November 2008 03:52 AM |
RAM issue | nikkon | FreeBSD General | 5 | 7th May 2008 04:26 AM |