~ubuntu-branches/ubuntu/quantal/linux-lowlatency/quantal

« back to all changes in this revision

Viewing changes to include/linux/prctl.h

  • Committer: Package Import Robot
  • Author(s): Luke Yelavich, Luke Yelavich
  • Date: 2012-03-22 15:37:37 UTC
  • Revision ID: package-import@ubuntu.com-20120322153737-rg85rk5zle7b0iu9
Tags: 3.2.0-20.28
[ Luke Yelavich ]
* Rebase against Ubuntu-3.2.0-20.32
* [Config] Update configs after rebase against precise mainline

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
#define PR_SET_PTRACER 0x59616d61
122
122
# define PR_SET_PTRACER_ANY ((unsigned long)-1)
123
123
 
 
124
/*
 
125
 * If no_new_privs is set, then operations that grant new privileges (i.e.
 
126
 * execve) will either fail or not grant them.  This affects suid/sgid,
 
127
 * file capabilities, and LSMs.
 
128
 *
 
129
 * Operations that merely manipulate or drop existing privileges (setresuid,
 
130
 * capset, etc.) will still work.  Drop those privileges if you want them gone.
 
131
 *
 
132
 * Changing LSM security domain is considered a new privilege.  So, for example,
 
133
 * asking selinux for a specific new context (e.g. with runcon) will result
 
134
 * in execve returning -EPERM.
 
135
 */
 
136
#define PR_SET_NO_NEW_PRIVS 36
 
137
#define PR_GET_NO_NEW_PRIVS 37
 
138
 
124
139
#endif /* _LINUX_PRCTL_H */