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
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/compat/linux/linux_misc.c | ||
---|---|---|
1949 ↗ | (On Diff #2178) | Can you add a comment above explaining the purpose of this check? |
sys/compat/linux/linux_misc.c | ||
---|---|---|
1949 ↗ | (On Diff #2178) | 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 | ||
---|---|---|
1949 ↗ | (On Diff #2178) | Ok. Still, it would be nice to have this inside the comment. No biggie, though. |