aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorVineet Gupta <[email protected]>2017-12-20 20:37:54 +0000
committerVineet Gupta <[email protected]>2017-12-20 23:16:18 +0000
commitf5a16b93e6291ba1f65f55647cb4cd8d75ed1b35 (patch)
tree4c6243cc717af027d95dff55542b05b067ef16a8 /net/unix/af_unix.c
parentARC: uaccess: dont use "l" gcc inline asm constraint modifier (diff)
downloadkernel-f5a16b93e6291ba1f65f55647cb4cd8d75ed1b35.tar.gz
kernel-f5a16b93e6291ba1f65f55647cb4cd8d75ed1b35.zip
ARC: handle gcc generated __builtin_trap()
gcc toggle -fisolate-erroneous-paths-dereference (default at -O2 onwards) isolates faulty code paths such as null pointer access, divide by zero etc by emitting __builtin_trap() Newer ARC gcc generates TRAP_S 5 instruction which needs to be handled and treated like any other unexpected exception - user mode : task terminated with a SEGV - kernel mode: die() called after register and stack dump Signed-off-by: Vineet Gupta <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions