git: kernel - Fix info->si_code for waitid() (2)

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Mar 18 13:44:20 PDT 2019


commit 819542d7368b86c023c4e0135e67067706c62847
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Mar 18 13:43:41 2019 -0700

    kernel - Fix info->si_code for waitid() (2)
    
    * Our si_status was W*() encoded, but linux does not W*() encode
      theirs.
    
      Do not W*() encode ours either.  Also properly decode the exit signal
      and exit code.

Summary of changes:
 sys/kern/kern_exit.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/819542d7368b86c023c4e0135e67067706c62847


-- 
DragonFly BSD source repository


More information about the Commits mailing list