Is it acceptable to make copycheck part of the copyinout api? In waitpid it seems appropriate to check if the status userptr is valid before using a synchronization variable to sleep while waiting for the child proc to terminate.
Benjamin_Bell (Benjamin Bell) #1
gwa (Geoffrey Challen) #2
Interesting. You could try that. Or you could just copy out a dummy value to test it.