mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-23 10:09:57 +00:00
use native SYSCTL_TYPE__CTL_32 and SYSCTL_TYPE__CTL_STR v2: add BUILD_BUG_ONS to check SysctlType constants are equal to __CTL_STR and CTL_32, change __CTL_STR to CTL_STR in SysctlType enum. Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
11 lines
160 B
Protocol Buffer
11 lines
160 B
Protocol Buffer
enum SysctlType {
|
|
CTL_STR = 5;
|
|
CTL_32 = 6;
|
|
}
|
|
|
|
message sysctl_entry {
|
|
required SysctlType type = 1;
|
|
|
|
optional int32 iarg = 2;
|
|
optional string sarg = 3;
|
|
}
|