------- Comment From hegdevas...@in.ibm.com 2017-09-28 02:13 EDT-------
(In reply to comment #5)
> 'MemoryDenyWriteExecute=yes' is defined in systemd.exec(5) as:
>
> If set, attempts to create memory mappings that are writable and executable
> at the same time, or to change existing memory mappings to become
> executable, or mapping shared memory segments as executable are prohibited.
> Specifically, a system call filter is added that rejects mmap(2) system
> calls with both PROT_EXEC and PROT_WRITE set, mprotect(2) system calls with
> PROT_EXEC set and shmat(2) system calls with SHM_EXEC set.
>
> It is surprising that /bin/touch should trip this check.  This will require
> investigation.

Yeah. even I thought its touch issue. I did look into touch source code
as well. It uses below flag to create file.

O_WRONLY | O_CREAT | O_NONBLOCK | O_NOCTTY, MODE_RW_UGO);

-Vasant

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1719720

Title:
  [LTCTest][libvpd] Process '/bin/touch /run/run.vpdupdate' failed with
  exit code 127

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1719720/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to