diff options
| author | Sukadev Bhattiprolu <[email protected]> | 2009-04-02 16:58:09 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-04-02 19:04:58 -0700 |
| commit | 6588c1e3ff01418acafd938db0740e3477dc8cb7 (patch) | |
| tree | b58beed5813667619be47c5d064f8f78804e92d1 /include/linux | |
| parent | b3bfa0cba867f23365b81658b47efd906830879b (diff) | |
signals: SI_USER: Masquerade si_pid when crossing pid ns boundary
When sending a signal to a descendant namespace, set ->si_pid to 0 since
the sender does not have a pid in the receiver's namespace.
Note:
- If rt_sigqueueinfo() sets si_code to SI_USER when sending a
signal across a pid namespace boundary, the value in ->si_pid
will be cleared to 0.
Signed-off-by: Sukadev Bhattiprolu <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Roland McGrath <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: Daniel Lezcano <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions