You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux v6.6 is expected to add support for a new seccomp() flag, SECCOMP_USER_NOTIF_FD_SYNC_WAKE_UP. Investigate what we need to do for libseccomp.
My initial thought is that as this really only affects kernel scheduling, we may not need to do much other than to enable setting it, likely via a libseccomp filter attribute.
Now that I'm looking at this to implement the functionality in libseccomp, I'm realizing that we probably don't need to do anything, at least not with our current approach to the seccomp notification mechanism. Based on the kselftest code, it appears that the proper way to use SECCOMP_USER_NOTIF_FD_SYNC_WAKE_UP is to load a seccomp filter with notification enabled and then set SECCOMP_USER_NOTIF_FD_SYNC_WAKE_UP using ioctl(). Considering that we don't support other notification response actions, e.g. returning a fd, leaving that up to the library's caller, I think our best, and most consistent, option is to do the same here and leave the code as-is.
Linux v6.6 is expected to add support for a new
seccomp()
flag,SECCOMP_USER_NOTIF_FD_SYNC_WAKE_UP
. Investigate what we need to do for libseccomp.My initial thought is that as this really only affects kernel scheduling, we may not need to do much other than to enable setting it, likely via a libseccomp filter attribute.
The text was updated successfully, but these errors were encountered: