![]() ![]() Kernel/debug/kdb/kdb_main.c | 10 -ģ files changed, 10 insertions( ), 16 deletions(-)ĭiff -git a/kernel/debug/kdb/kdb_main.c b/kernel/debug/kdb/kdb_main. Move the sig_valid test into kdb_kill where it can generate For example: mount -o bind,ro foo foo This feature is not supported by the Linux kernel it is implemented in userspace by an additional mount(2) remounting system call. Held instead of dropping siglock and attempting to grab it again. Since util-linux 2.27 mount permits changing the mount options by passing the relevant options along with -bind. As the code grabs siglock just send the signal with siglock Not correct in the face of pid namespaces. The generated siginfo had a bogus rationale and was Use SEND_SIG_PRIV instead of generating a siginfo for a kdb Rename from kdb_send_sig_info to kdb_send_sig To: linux-kernel Cc: Al Viro, Oleg Nesterov, linux-arch, Eric W. ` (10 subsequent siblings) 11 siblings, 0 replies 89 messages in threadįrom: Eric W. 0:59 ` signal/sh: Ensure si_signo is initialized in do_divide_error Eric W. 0:57 siginfo fixes/cleanups esp SI_USER Eric W. Signal: Ensure generic siginfos the kernel sends have all bits initializedĪrch/arm/include/uapi/asm/siginfo.h | 13 Īrch/arm64/include/uapi/asm/siginfo.h | 21 Īrch/arm64/mm/fault.c | 114 -Īrch/metag/include/uapi/asm/siginfo.h | 7 Īrch/parisc/include/uapi/asm/siginfo.h | 7 Īrch/powerpc/include/uapi/asm/siginfo.h | 15 ġ9 files changed, 167 insertions( ), 95 deletions(-) Signal: Reduce copy_siginfo to just a memcpy Signal/arm: Document conflicts with SI_USER and SIGFPE Signal/arm64: Document conflicts with SI_USER and SIGFPE,SIGTRAP,SIGBUS ![]() Signal/powerpc: Document conflicts with SI_USER and SIGFPE and SIGTRAP Signal/metag: Document a conflict with SI_USER with SIGFPE Signal/parisc: Document a conflict with SI_USER with SIGFPE Signal/openrisc: Fix do_unaligned_access to send the proper signal Signal/sh: Ensure si_signo is initialized in do_divide_error They are improperly generating a signal and the fix is obvious. This series also contains a fix for sh and a fix for openrisc where Unitialized values to userspace when SI_USER is mistaken for TRAP_FIXME, With all these changes take together there is no danger of copying Mean something other than SI_USER to use TRAP_FIXME, FPE_FIXME, or This change updates architectures that are using si_code of 0 to With si_code = SI_USER to fully initialize all of siginfo. This modifies all of the places in the kernel that generate a signal Of cases where unitialized memory is copied to userspace asĪ result of the fact that SI_USER is sometimes confused with Siginfo_layout I realized that the code introduces a small number While answering a question about my earlier introduction to Git:///pub/scm/linux/kernel/git/ebiederm/user-namespace.git siginfo-minor-fixesv2 To: linux-kernel Cc: Oleg Nesterov, Al Viro, linux-arch ` (11 more replies) 0 siblings, 12 replies 89 messages in threadįrom: Eric W. 0:59 ` signal: Simplify and fix kdb_send_sig Eric W.
0 Comments
Leave a Reply. |