csd.cmsc412
Discussion:
Testing for invalid pids
(too old to reply)
cs412017
2005-09-20 14:28:17 UTC
Permalink
Can we assume that invalid pids will be non-negative?
Saurabh Srivastava
2005-09-20 15:52:00 UTC
Permalink
| Can we assume that invalid pids will be non-negative?
no. it it your responsibility when writing the syscall to ensure that you
do not make any assumptions about the arguments being passed but do your
own sanity checks.
1 Reply
3 Views
Permalink to this page
Disable enhanced parsing
Thread Navigation
cs412017
2005-09-20 14:28:17 UTC
Saurabh Srivastava
2005-09-20 15:52:00 UTC
Loading...