.BR SECCOMP_GET_NOTIF_SIZES " (since Linux 5.0)"
.\" commit 6a21cc50f0c7f87dae5259f6cfefe024412313f6
Get the sizes of the seccomp user-space notification structures.
-Since the structures include a
-.I "struct seccomp_data"
-which may grow in size, this command can be used to determine how
+Since these structures may evolve and grow over time,
+this command can be used to determine how
much memory to allocate for sending and receiving notifications.
.IP
The value of
.IR "struct seccomp_notif_sizes" ,
which has the following form:
.IP
-.in +4n
.EX
struct seccomp_notif_sizes
- __u16 seccomp_notif;
- __u16 seccomp_notif_resp;
- __u16 seccomp_data;
+ __u16 seccomp_notif; /* Size of notification structure */
+ __u16 seccomp_notif_resp; /* Size of response structure */
+ __u16 seccomp_data; /* Size of \(aqstruct seccomp_data\(aq */
};
.EE
-.in
.IP
See
.BR seccomp_unotify (2)