Page MenuHomeFreeBSD

Implement ppoll() system call.
ClosedPublic

Authored by dchagin on Nov 4 2014, 4:14 PM.
Tags
None
Referenced Files
F152661131: D1105.id2267.diff
Thu, Apr 16, 8:47 AM
F152618192: D1105.id3026.diff
Thu, Apr 16, 1:14 AM
F152617631: D1105.id3026.diff
Thu, Apr 16, 1:08 AM
F152560634: D1105.id3028.diff
Wed, Apr 15, 4:58 PM
Unknown Object (File)
Wed, Apr 15, 6:43 AM
Unknown Object (File)
Tue, Apr 14, 8:48 PM
Unknown Object (File)
Fri, Apr 10, 9:19 AM
Unknown Object (File)
Tue, Apr 7, 2:13 AM
Subscribers

Details

Summary

(need more test, ltp passed)

Diff Detail

Repository
rS FreeBSD src repository - subversion
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–459

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

sys/compat/linux/linux_misc.c
2200

if (args->sset != NULL) {

2208

Why call SIGDELSET? A comment would be nice.

2212

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
2224

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

sys/compat/linux/linux_misc.c
2224

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

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

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.