Page MenuHomeFreeBSD

Implement ppoll() system call.
ClosedPublic

Authored by dchagin on Nov 4 2014, 4:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 30, 10:26 AM
Unknown Object (File)
Fri, Apr 26, 7:56 AM
Unknown Object (File)
Fri, Apr 26, 7:56 AM
Unknown Object (File)
Fri, Apr 26, 7:56 AM
Unknown Object (File)
Fri, Apr 26, 7:56 AM
Unknown Object (File)
Fri, Apr 26, 7:56 AM
Unknown Object (File)
Fri, Apr 26, 12:23 AM
Unknown Object (File)
Tue, Apr 23, 9:54 AM
Subscribers

Details

Summary

(need more test, ltp passed)

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

dchagin retitled this revision from to Implement ppoll() system call..
dchagin updated this object.
trasz added inline comments.
sys/amd64/linux/syscalls.master
458

Misplaced space, should be "struct pollfd *fds".

sys/compat/linux/linux_misc.c
2189

if (args->sset != NULL) {

2197

Why call SIGDELSET? A comment would be nice.

2201

if (args->tsp != NULL) {

Fixed, thanks! btw, also for all of Linuxulator's sigprocmask syscall family should be remove SIGKILL|SIGSTOP from new signal mask.
Will be fixed soon.

whoops, kern_sigprocmask() already call SIG_CANTMASK for new mask, so remove my SIGDELSET.

sys/compat/linux/linux_misc.c
2213

What is this for? The sys_poll() implementation doesn't seem to do anything like this.

sys/compat/linux/linux_misc.c
2213

The Linux ppoll() system call modifies its timeout argument.

trasz added a reviewer: trasz.
trasz added inline comments.
sys/compat/linux/linux_misc.c
2213

A comment explaining this would be nice. Still, looks ok.

This revision is now accepted and ready to land.Mar 25 2015, 11:21 AM
This revision was automatically updated to reflect the committed changes.