Details
Details
- Reviewers
trasz - Group Reviewers
Linux Emulation - Commits
- rS283398: Sched_rr_get_interval returns EINVAL in case when the invalid pid
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
sys/compat/linux/linux_misc.c | ||
---|---|---|
1958 | Can you add a comment above explaining the purpose of this check? |
sys/compat/linux/linux_misc.c | ||
---|---|---|
1958 | This is typical check to shut up LTP test as instead of EINVAL we returns ESRCH. According to man 2 sched_rr_get_interval should return EINVAL in case invalid pid specified. |
sys/compat/linux/linux_misc.c | ||
---|---|---|
1958 | Ok. Still, it would be nice to have this inside the comment. No biggie, though. |