Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[19.03 backport] seccomp: add 64-bit time_t syscalls #40769

Merged
merged 1 commit into from Apr 3, 2020

Conversation

thaJeztah
Copy link
Member

backport of #40739
partially addresses #40734

Relates to https://patchwork.kernel.org/patch/10756415/

Added to whitelist:

  • clock_getres_time64 (equivalent of clock_getres, which was whitelisted)
  • clock_gettime64 (equivalent of clock_gettime, which was whitelisted)
  • clock_nanosleep_time64 (equivalent of clock_nanosleep, which was whitelisted)
  • futex_time64 (equivalent of futex, which was whitelisted)
  • io_pgetevents_time64 (equivalent of io_pgetevents, which was whitelisted)
  • mq_timedreceive_time64 (equivalent of mq_timedreceive, which was whitelisted)
  • mq_timedsend_time64 (equivalent of mq_timedsend, which was whitelisted)
  • ppoll_time64 (equivalent of ppoll, which was whitelisted)
  • pselect6_time64 (equivalent of pselect6, which was whitelisted)
  • recvmmsg_time64 (equivalent of recvmmsg, which was whitelisted)
  • rt_sigtimedwait_time64 (equivalent of rt_sigtimedwait, which was whitelisted)
  • sched_rr_get_interval_time64 (equivalent of sched_rr_get_interval, which was whitelisted)
  • semtimedop_time64 (equivalent of semtimedop, which was whitelisted)
  • timer_gettime64 (equivalent of timer_gettime, which was whitelisted)
  • timer_settime64 (equivalent of timer_settime, which was whitelisted)
  • timerfd_gettime64 (equivalent of timerfd_gettime, which was whitelisted)
  • timerfd_settime64 (equivalent of timerfd_settime, which was whitelisted)
  • utimensat_time64 (equivalent of utimensat, which was whitelisted)

Not added to whitelist:

  • clock_adjtime64 (equivalent of clock_adjtime, which was not whitelisted)
  • clock_settime64 (equivalent of clock_settime, which was not whitelisted)

Signed-off-by: Sebastiaan van Stijn github@gone.nl
(cherry picked from commit 89fabf0)
Signed-off-by: Sebastiaan van Stijn github@gone.nl

- What I did

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Relates to https://patchwork.kernel.org/patch/10756415/

Added to whitelist:

- `clock_getres_time64` (equivalent of `clock_getres`, which was whitelisted)
- `clock_gettime64` (equivalent of `clock_gettime`, which was whitelisted)
- `clock_nanosleep_time64` (equivalent of `clock_nanosleep`, which was whitelisted)
- `futex_time64` (equivalent of `futex`, which was whitelisted)
- `io_pgetevents_time64` (equivalent of `io_pgetevents`, which was whitelisted)
- `mq_timedreceive_time64` (equivalent of `mq_timedreceive`, which was whitelisted)
- `mq_timedsend_time64 ` (equivalent of `mq_timedsend`, which was whitelisted)
- `ppoll_time64` (equivalent of `ppoll`, which was whitelisted)
- `pselect6_time64` (equivalent of `pselect6`, which was whitelisted)
- `recvmmsg_time64` (equivalent of `recvmmsg`, which was whitelisted)
- `rt_sigtimedwait_time64` (equivalent of `rt_sigtimedwait`, which was whitelisted)
- `sched_rr_get_interval_time64` (equivalent of `sched_rr_get_interval`, which was whitelisted)
- `semtimedop_time64` (equivalent of `semtimedop`, which was whitelisted)
- `timer_gettime64` (equivalent of `timer_gettime`, which was whitelisted)
- `timer_settime64` (equivalent of `timer_settime`, which was whitelisted)
- `timerfd_gettime64` (equivalent of `timerfd_gettime`, which was whitelisted)
- `timerfd_settime64` (equivalent of `timerfd_settime`, which was whitelisted)
- `utimensat_time64` (equivalent of `utimensat`, which was whitelisted)

Not added to whitelist:

- `clock_adjtime64` (equivalent of `clock_adjtime`, which was not whitelisted)
- `clock_settime64` (equivalent of `clock_settime`, which was not whitelisted)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 89fabf0)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Copy link
Contributor

@kolyshkin kolyshkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM provided CI is ✔️

Copy link
Member

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants