diff options
author | Linus Torvalds <torvalds@home.transmeta.com> | 2003-02-06 20:25:24 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-02-06 20:25:24 -0800 |
commit | 8eae299835cf161a93a5acd890cebf0f83f2a2ce (patch) | |
tree | 36e8d2c6717ac5b716b87fbcc6847924c2271691 /security | |
parent | fef31b0354eeec8ce9c71c7adcf08848c25727f6 (diff) | |
download | history-8eae299835cf161a93a5acd890cebf0f83f2a2ce.tar.gz |
Split up "struct signal_struct" into "signal" and "sighand" parts.
This is required to get make the old LinuxThread semantics work
together with the fixed-for-POSIX full signal sharing. A traditional
CLONE_SIGHAND thread (LinuxThread) will not see any other shared
signal state, while a new-style CLONE_THREAD thread will share all
of it.
This way the two methods don't confuse each other.
Diffstat (limited to 'security')
-rw-r--r-- | security/capability.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/capability.c b/security/capability.c index cf6d2440a21d21..d9b00d69fe411f 100644 --- a/security/capability.c +++ b/security/capability.c @@ -133,7 +133,7 @@ void cap_bprm_compute_creds (struct linux_binprm *bprm) if (must_not_trace_exec (current) || atomic_read (¤t->fs->count) > 1 || atomic_read (¤t->files->count) > 1 - || atomic_read (¤t->sig->count) > 1) { + || atomic_read (¤t->sighand->count) > 1) { if (!capable (CAP_SETPCAP)) { new_permitted = cap_intersect (new_permitted, current-> |