More info on exec bug

H.J. Lu (hjl@lucon.org)
Tue, 10 Nov 1998 11:52:02 -0800 (PST)


I am enclosing the part of the exec man page from The Single UNIX ®
Specification, Version 2. It says exec should inherit

process signal mask (see sigprocmask())
pending signal (see sigpending())

I think Linux is wrong at least on

pending signal (see sigpending())

-- 
H.J. Lu (hjl@gnu.org)
---
The new process also inherits at least the following attributes from the
calling process image: 

nice value (see nice()) semadj values (see semop()) process ID parent process ID process group ID session membership real user ID real group ID supplementary group IDs time left until an alarm clock signal (see alarm()) current working directory root directory file mode creation mask (see umask()) file size limit (see ulimit()) process signal mask (see sigprocmask()) pending signal (see sigpending()) tms_utime, tms_stime, tms_cutime, and tms_cstime (see times()) resource limits controlling terminal interval timers

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/