<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/Documentation/prctl, branch v3.13.2</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/Documentation/prctl?h=v3.13.2</id>
<link rel='self' href='https://git.amat.us/linux/atom/Documentation/prctl?h=v3.13.2'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-10-02T11:14:29Z</updated>
<entry>
<title>seccomp: Make syscall skipping and nr changes more consistent</title>
<updated>2012-10-02T11:14:29Z</updated>
<author>
<name>Andy Lutomirski</name>
<email>luto@amacapital.net</email>
</author>
<published>2012-10-01T18:40:45Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=87b526d349b04c31d7b3a40b434eb3f825d22305'/>
<id>urn:sha1:87b526d349b04c31d7b3a40b434eb3f825d22305</id>
<content type='text'>
This fixes two issues that could cause incompatibility between
kernel versions:

 - If a tracer uses SECCOMP_RET_TRACE to select a syscall number
   higher than the largest known syscall, emulate the unknown
   vsyscall by returning -ENOSYS.  (This is unlikely to make a
   noticeable difference on x86-64 due to the way the system call
   entry works.)

 - On x86-64 with vsyscall=emulate, skipped vsyscalls were buggy.

This updates the documentation accordingly.

Signed-off-by: Andy Lutomirski &lt;luto@amacapital.net&gt;
Acked-by: Will Drewry &lt;wad@chromium.org&gt;
Signed-off-by: James Morris &lt;james.l.morris@oracle.com&gt;
</content>
</entry>
<entry>
<title>security: Minor improvements to no_new_privs documentation</title>
<updated>2012-07-07T14:25:48Z</updated>
<author>
<name>Andy Lutomirski</name>
<email>luto@amacapital.net</email>
</author>
<published>2012-07-05T18:23:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c540521bba5d2f24bd2c0417157bfaf8b85e2eee'/>
<id>urn:sha1:c540521bba5d2f24bd2c0417157bfaf8b85e2eee</id>
<content type='text'>
The documentation didn't actually mention how to enable no_new_privs.
This also adds a note about possible interactions between
no_new_privs and LSMs (i.e. why teaching systemd to set no_new_privs
is not necessarily a good idea), and it references the new docs
from include/linux/prctl.h.

Suggested-by: Rob Landley &lt;rob@landley.net&gt;
Signed-off-by: Andy Lutomirski &lt;luto@amacapital.net&gt;
Acked-by: Kees Cook &lt;keescook@chromium.org&gt;
Signed-off-by: James Morris &lt;james.l.morris@oracle.com&gt;
</content>
</entry>
<entry>
<title>security: document no_new_privs</title>
<updated>2012-07-03T02:35:36Z</updated>
<author>
<name>Andy Lutomirski</name>
<email>luto@amacapital.net</email>
</author>
<published>2012-07-02T21:03:58Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=09b243577be319ef55310b45c65737008f3ebf12'/>
<id>urn:sha1:09b243577be319ef55310b45c65737008f3ebf12</id>
<content type='text'>
Document no_new_privs.

Signed-off-by: Andy Lutomirski &lt;luto@amacapital.net&gt;
Acked-by: Kees Cook &lt;keescook@chromium.org&gt;
Signed-off-by: James Morris &lt;james.l.morris@oracle.com&gt;
</content>
</entry>
<entry>
<title>Documentation: prctl/seccomp_filter</title>
<updated>2012-04-14T01:13:22Z</updated>
<author>
<name>Will Drewry</name>
<email>wad@chromium.org</email>
</author>
<published>2012-04-12T21:48:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8ac270d1e29f0428228ab2b9a8ae5e1ed4a5cd84'/>
<id>urn:sha1:8ac270d1e29f0428228ab2b9a8ae5e1ed4a5cd84</id>
<content type='text'>
Documents how system call filtering using Berkeley Packet
Filter programs works and how it may be used.
Includes an example for x86 and a semi-generic
example using a macro-based code generator.

Acked-by: Eric Paris &lt;eparis@redhat.com&gt;
Signed-off-by: Will Drewry &lt;wad@chromium.org&gt;
Acked-by: Kees Cook &lt;keescook@chromium.org&gt;

v18: - added acked by
     - update no new privs numbers
v17: - remove @compat note and add Pitfalls section for arch checking
       (keescook@chromium.org)
v16: -
v15: -
v14: - rebase/nochanges
v13: - rebase on to 88ebdda6159ffc15699f204c33feb3e431bf9bdc
v12: - comment on the ptrace_event use
     - update arch support comment
     - note the behavior of SECCOMP_RET_DATA when there are multiple filters
       (keescook@chromium.org)
     - lots of samples/ clean up incl 64-bit bpf-direct support
       (markus@chromium.org)
     - rebase to linux-next
v11: - overhaul return value language, updates (keescook@chromium.org)
     - comment on do_exit(SIGSYS)
v10: - update for SIGSYS
     - update for new seccomp_data layout
     - update for ptrace option use
v9: - updated bpf-direct.c for SIGILL
v8: - add PR_SET_NO_NEW_PRIVS to the samples.
v7: - updated for all the new stuff in v7: TRAP, TRACE
    - only talk about PR_SET_SECCOMP now
    - fixed bad JLE32 check (coreyb@linux.vnet.ibm.com)
    - adds dropper.c: a simple system call disabler
v6: - tweak the language to note the requirement of
      PR_SET_NO_NEW_PRIVS being called prior to use. (luto@mit.edu)
v5: - update sample to use system call arguments
    - adds a "fancy" example using a macro-based generator
    - cleaned up bpf in the sample
    - update docs to mention arguments
    - fix prctl value (eparis@redhat.com)
    - language cleanup (rdunlap@xenotime.net)
v4: - update for no_new_privs use
    - minor tweaks
v3: - call out BPF &lt;-&gt; Berkeley Packet Filter (rdunlap@xenotime.net)
    - document use of tentative always-unprivileged
    - guard sample compilation for i386 and x86_64
v2: - move code to samples (corbet@lwn.net)
Signed-off-by: James Morris &lt;james.l.morris@oracle.com&gt;
</content>
</entry>
<entry>
<title>generic, x86: add tests for prctl PR_GET_TSC and PR_SET_TSC</title>
<updated>2008-04-19T17:19:55Z</updated>
<author>
<name>Erik Bosman</name>
<email>ebn310@few.vu.nl</email>
</author>
<published>2008-04-11T16:57:22Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f1326973262382150c26bf4dfccd0fce310c4a9c'/>
<id>urn:sha1:f1326973262382150c26bf4dfccd0fce310c4a9c</id>
<content type='text'>
This patch adds three tests that test whether the PR_GET_TSC and
PR_SET_TSC commands have the desirable effect.

The tests check whether the control register is updated correctly
at context switches and try to discover bugs while enabling/disabling
the timestamp counter.

Signed-off-by: Erik Bosman &lt;ejbosman@cs.vu.nl&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
</feed>
