aboutsummaryrefslogtreecommitdiff
path: root/Documentation/prctl
AgeCommit message (Collapse)Author
2011-09-23UBUNTU: SAUCE: seccomp_filter: Document what seccomp_filter is and how it works.Will Drewry
Adds a text file covering what CONFIG_SECCOMP_FILTER is, how it is implemented presently, and what it may be used for. In addition, the limitations and caveats of the proposed implementation are included. v10: fix to reflect mode==13 now. v9: rebase on to bccaeafd7c117acee36e90d37c7e05c19be9e7bf v8: - v7: Add a caveat around fork behavior and execve v6: - v5: - v4: rewording (courtesy kees.cook@canonical.com) reflect support for event ids add a small section on adding per-arch support v3: a little more cleanup v2: moved to prctl/ updated for the v2 syntax. adds a note about compat behavior Signed-off-by: Will Drewry <wad@chromium.org> BUG=chromium-os:14496 TEST=I can readz. Change-Id: I10945ea369757756b08834650e59d148b3e08aa2 Reviewed-on: http://gerrit.chromium.org/gerrit/3243 Reviewed-by: Sonny Rao <sonnyrao@chromium.org> Tested-by: Will Drewry <wad@chromium.org> Signed-off-by: Kees Cook <kees.cook@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
2008-04-19generic, x86: add tests for prctl PR_GET_TSC and PR_SET_TSCErik Bosman
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 <ejbosman@cs.vu.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>