diff --git a/test/syzkaller/qos_auth/anon_refault_snapshot_min_interval.txt b/test/syzkaller/qos_auth/anon_refault_snapshot_min_interval.txt new file mode 100644 index 0000000000000000000000000000000000000000..3d8b3382f719020a001d3953ff88e12a7f2ddf35 --- /dev/null +++ b/test/syzkaller/qos_auth/anon_refault_snapshot_min_interval.txt @@ -0,0 +1,14 @@ +include +include +include +include + +resource fd_anon_refault_snapshot_min_interval[fd] +openat$fd_anon_refault_snapshot_min_interval(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.anon_refault_snapshot_min_interval"]], flags const[O_RDWR], mode const[0]) fd_anon_refault_snapshot_min_interval + +write$ANON_REFAULTSNAPSHOTMININTERVAL(fd fd_anon_refault_snapshot_min_interval, data ptr[in, int32], len bytesize[data]) + +#ifdef CONFIG_HYPERHOLD_DEBUG +type read_anon_refault_snapshot_min_interval array[int8, 1024] +read$ANON_REFAULTSNAPSHOTMININTERVAL(fd fd_anon_refault_snapshot_min_interval, buf ptr[out, read_anon_refault_snapshot_min_interval], len bytesize[buf]) +#endif \ No newline at end of file diff --git a/test/syzkaller/qos_auth/area_anon_refault_threshold.txt b/test/syzkaller/qos_auth/area_anon_refault_threshold.txt new file mode 100644 index 0000000000000000000000000000000000000000..f087fa324f4bba7b18917e05288b926656106d46 --- /dev/null +++ b/test/syzkaller/qos_auth/area_anon_refault_threshold.txt @@ -0,0 +1,14 @@ +include +include +include +include + +resource fd_area_anon_refault_threshold[fd] +openat$fd_area_anon_refault_threshold(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.area_anon_refault_threshold"]], flags const[O_RDWR], mode const[0]) fd_area_anon_refault_threshold + +write$AREA_ANONREFAULTTHRESHOLD(fd fd_area_anon_refault_threshold, data ptr[in, int32], len bytesize[data]) + +#ifdef CONFIG_HYPERHOLD_DEBUG +type read_area_anon_refault_threshold array[int8, 1024] +read$AREA_ANONREFAULTTHRESHOLD(fd fd_area_anon_refault_threshold, buf ptr[out, read_area_anon_refault_threshold], len bytesize[buf]) +#endif \ No newline at end of file diff --git a/test/syzkaller/qos_auth/avail_buffers.txt b/test/syzkaller/qos_auth/avail_buffers.txt new file mode 100644 index 0000000000000000000000000000000000000000..6c278642ec34ceb4c3f1ea78671e6ea178e14152 --- /dev/null +++ b/test/syzkaller/qos_auth/avail_buffers.txt @@ -0,0 +1,9 @@ +include +include +include +include + +resource fd_avail_buffers[fd] +openat$fd_avail_buffers(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.avail_buffers"]], flags const[O_RDWR], mode const[0]) fd_avail_buffers + +write$AVAIL_BUFFERS(fd fd_avail_buffers, data ptr[in, int32], len bytesize[data]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/buffer_ratio_params.txt b/test/syzkaller/qos_auth/buffer_ratio_params.txt new file mode 100644 index 0000000000000000000000000000000000000000..9855165ca16851947c93092b2f32ac077a7fbc86 --- /dev/null +++ b/test/syzkaller/qos_auth/buffer_ratio_params.txt @@ -0,0 +1,9 @@ +include +include +include +include + +resource fd_buffer_ratio_params[fd] +openat$fd_buffer_ratio_params(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.buffer_ratio_params"]], flags const[O_RDWR], mode const[0]) fd_buffer_ratio_params + +write$BUFFER_RATIOPARAMS(fd fd_buffer_ratio_params, data ptr[in, int32], len bytesize[data]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/compress_ratio.txt b/test/syzkaller/qos_auth/compress_ratio.txt new file mode 100644 index 0000000000000000000000000000000000000000..c7b539afd476eff5c5de4b379d55f33410be7d09 --- /dev/null +++ b/test/syzkaller/qos_auth/compress_ratio.txt @@ -0,0 +1,9 @@ +include +include +include +include + +resource fd_compress_ratio[fd] +openat$fd_compress_ratio(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.compress_ratio"]], flags const[O_RDWR], mode const[0]) fd_compress_ratio + +write$COMPRESS_RATIO(fd fd_compress_ratio, data ptr[in, int32], len bytesize[data]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/empty_round_check_threshold.txt b/test/syzkaller/qos_auth/empty_round_check_threshold.txt new file mode 100644 index 0000000000000000000000000000000000000000..8c0f84f8a6e0c4b31160b52b578b90c59993e674 --- /dev/null +++ b/test/syzkaller/qos_auth/empty_round_check_threshold.txt @@ -0,0 +1,14 @@ +include +include +include +include + +resource fd_empty_round_check_threshold[fd] +openat$fd_empty_round_check_threshold(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.empty_round_check_threshold"]], flags const[O_RDWR], mode const[0]) fd_empty_round_check_threshold + +write$EMPTY_ROUNDCHECKTHRESHOLD(fd fd_empty_round_check_threshold, data ptr[in, int32], len bytesize[data]) + +#ifdef CONFIG_HYPERHOLD_DEBUG +type read_empty_round_check_threshold array[int8, 1024] +read$EMPTY_ROUNDCHECKTHRESHOLD(fd fd_empty_round_check_threshold, buf ptr[out, read_empty_round_check_threshold], len bytesize[buf]) +#endif \ No newline at end of file diff --git a/test/syzkaller/qos_auth/empty_round_skip_interval.txt b/test/syzkaller/qos_auth/empty_round_skip_interval.txt new file mode 100644 index 0000000000000000000000000000000000000000..24aa5901c5f0811d82644af728f738c30d837d3c --- /dev/null +++ b/test/syzkaller/qos_auth/empty_round_skip_interval.txt @@ -0,0 +1,14 @@ +include +include +include +include + +resource fd_empty_round_skip_interval[fd] +openat$fd_empty_round_skip_interval(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.empty_round_skip_interval"]], flags const[O_RDWR], mode const[0]) fd_empty_round_skip_interval + +write$EMPTY_ROUNDSKIPINTERVAL(fd fd_empty_round_skip_interval, data ptr[in, int32], len bytesize[data]) + +#ifdef CONFIG_HYPERHOLD_DEBUG +type read_empty_round_skip_interval array[int8, 1024] +read$EMPTY_ROUNDSKIPINTERVAL(fd fd_empty_round_skip_interval, buf ptr[out, read_empty_round_skip_interval], len bytesize[buf]) +#endif \ No newline at end of file diff --git a/test/syzkaller/qos_auth/event_control.txt b/test/syzkaller/qos_auth/event_control.txt new file mode 100644 index 0000000000000000000000000000000000000000..223328c538dc00e69e166f780d07d5ea9f3d0fb6 --- /dev/null +++ b/test/syzkaller/qos_auth/event_control.txt @@ -0,0 +1,9 @@ +include +include +include +include + +resource fd_event_control[fd] +openat$fd_event_control(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/cgroup.event_control"]], flags const[O_RDWR], mode const[0]) fd_event_control + +write$event_control(fd fd_event_control, data ptr[in, int32], len bytesize[data]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/failcnt.txt b/test/syzkaller/qos_auth/failcnt.txt new file mode 100644 index 0000000000000000000000000000000000000000..2473157f8111176c7c99e5ab72d4ebedfa3733ab --- /dev/null +++ b/test/syzkaller/qos_auth/failcnt.txt @@ -0,0 +1,12 @@ +include +include +include +include + +resource fd_failcnt[fd] +openat$fd_failcnt(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.failcnt"]], flags const[O_RDWR], mode const[0]) fd_failcnt + +write$failcnt(fd fd_failcnt, data ptr[in, int32], len bytesize[data]) + +type read_failcnt array[int8, 1024] +read$failcnt(fd fd_failcnt, buf ptr[out, read_failcnt], len bytesize[buf]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/force_empty.txt b/test/syzkaller/qos_auth/force_empty.txt new file mode 100644 index 0000000000000000000000000000000000000000..788b246bcce6f16c84dcc46178045d6abd10fbff --- /dev/null +++ b/test/syzkaller/qos_auth/force_empty.txt @@ -0,0 +1,9 @@ +include +include +include +include + +resource fd_force_empty[fd] +openat$fd_force_empty(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.force_empty"]], flags const[O_RDWR], mode const[0]) fd_force_empty + +write$force_empty(fd fd_force_empty, data ptr[in, int32], len bytesize[data]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/kmemfailcnt.txt b/test/syzkaller/qos_auth/kmemfailcnt.txt new file mode 100644 index 0000000000000000000000000000000000000000..caf9de5f8a3117906b553041766203082d61165c --- /dev/null +++ b/test/syzkaller/qos_auth/kmemfailcnt.txt @@ -0,0 +1,12 @@ +include +include +include +include + +resource fd_kmemfailcnt[fd] +openat$fd_kmemfailcnt(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.kmem.failcnt"]], flags const[O_RDWR], mode const[0]) fd_kmemfailcnt + +write$kmemfailcnt(fd fd_kmemfailcnt, data ptr[in, int32], len bytesize[data]) + +type read_kmemfailcnt array[int8, 1024] +read$kmemfailcnt(fd fd_kmemfailcnt, buf ptr[out, read_kmemfailcnt], len bytesize[buf]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/kmemlimit_in_bytes.txt b/test/syzkaller/qos_auth/kmemlimit_in_bytes.txt new file mode 100644 index 0000000000000000000000000000000000000000..dc96f6c3a110b9bd3c8d3fa1c3b987149bb718b8 --- /dev/null +++ b/test/syzkaller/qos_auth/kmemlimit_in_bytes.txt @@ -0,0 +1,12 @@ +include +include +include +include + +resource fd_kmemlimit_in_bytes[fd] +openat$fd_kmemlimit_in_bytes(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.kmem.limit_in_bytes"]], flags const[O_RDWR], mode const[0]) fd_kmemlimit_in_bytes + +write$kmemlimit_in_bytes(fd fd_kmemlimit_in_bytes, data ptr[in, int32], len bytesize[data]) + +type read_kmemlimit_in_bytes array[int8, 1024] +read$kmemlimit_in_bytes(fd fd_kmemlimit_in_bytes, buf ptr[out, read_kmemlimit_in_bytes], len bytesize[buf]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/kmemmax_usage_in_bytes.txt b/test/syzkaller/qos_auth/kmemmax_usage_in_bytes.txt new file mode 100644 index 0000000000000000000000000000000000000000..e4b243f278866e303dd27f2e96acf9fdef1a3477 --- /dev/null +++ b/test/syzkaller/qos_auth/kmemmax_usage_in_bytes.txt @@ -0,0 +1,12 @@ +include +include +include +include + +resource fd_kmemmax_usage_in_bytes[fd] +openat$fd_kmemmax_usage_in_bytes(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.kmem.max_usage_in_bytes"]], flags const[O_RDWR], mode const[0]) fd_kmemmax_usage_in_bytes + +write$kmemmax_usage_in_bytes(fd fd_kmemmax_usage_in_bytes, data ptr[in, int32], len bytesize[data]) + +type read_kmemmax_usage_in_bytes array[int8, 1024] +read$kmemmax_usage_in_bytes(fd fd_kmemmax_usage_in_bytes, buf ptr[out, read_kmemmax_usage_in_bytes], len bytesize[buf]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/kmemtcpfailcnt.txt b/test/syzkaller/qos_auth/kmemtcpfailcnt.txt new file mode 100644 index 0000000000000000000000000000000000000000..c1ea1509d40abb3211d438e4ffa7625afa74d4b9 --- /dev/null +++ b/test/syzkaller/qos_auth/kmemtcpfailcnt.txt @@ -0,0 +1,12 @@ +include +include +include +include + +resource fd_kmemtcpfailcnt[fd] +openat$fd_kmemtcpfailcnt(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.kmem.tcp.failcnt"]], flags const[O_RDWR], mode const[0]) fd_kmemtcpfailcnt + +write$kmemtcpfailcnt(fd fd_kmemtcpfailcnt, data ptr[in, int32], len bytesize[data]) + +type read_kmemtcpfailcnt array[int8, 1024] +read$kmemtcpfailcnt(fd fd_kmemtcpfailcnt, buf ptr[out, read_kmemtcpfailcnt], len bytesize[buf]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/kmemtcplimit_in_bytes.txt b/test/syzkaller/qos_auth/kmemtcplimit_in_bytes.txt new file mode 100644 index 0000000000000000000000000000000000000000..89bfbd0a61dbf26f33ddaa184017e3b44e87eda8 --- /dev/null +++ b/test/syzkaller/qos_auth/kmemtcplimit_in_bytes.txt @@ -0,0 +1,12 @@ +include +include +include +include + +resource fd_kmemtcplimit_in_bytes[fd] +openat$fd_kmemtcplimit_in_bytes(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.kmem.tcp.limit_in_bytes"]], flags const[O_RDWR], mode const[0]) fd_kmemtcplimit_in_bytes + +write$kmemtcplimit_in_bytes(fd fd_kmemtcplimit_in_bytes, data ptr[in, int32], len bytesize[data]) + +type read_kmemtcplimit_in_bytes array[int8, 1024] +read$kmemtcplimit_in_bytes(fd fd_kmemtcplimit_in_bytes, buf ptr[out, read_kmemtcplimit_in_bytes], len bytesize[buf]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/kmemtcpmax_usage_in_bytes.txt b/test/syzkaller/qos_auth/kmemtcpmax_usage_in_bytes.txt new file mode 100644 index 0000000000000000000000000000000000000000..3a446f1a7df02c9536eed5a23977b905d9f0a8a7 --- /dev/null +++ b/test/syzkaller/qos_auth/kmemtcpmax_usage_in_bytes.txt @@ -0,0 +1,12 @@ +include +include +include +include + +resource fd_kmemtcpmax_usage_in_bytes[fd] +openat$fd_kmemtcpmax_usage_in_bytes(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.kmem.tcp.max_usage_in_bytes"]], flags const[O_RDWR], mode const[0]) fd_kmemtcpmax_usage_in_bytes + +write$kmemtcpmax_usage_in_bytes(fd fd_kmemtcpmax_usage_in_bytes, data ptr[in, int32], len bytesize[data]) + +type read_kmemtcpmax_usage_in_bytes array[int8, 1024] +read$kmemtcpmax_usage_in_bytes(fd fd_kmemtcpmax_usage_in_bytes, buf ptr[out, read_kmemtcpmax_usage_in_bytes], len bytesize[buf]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/kmemtcpusage_in_bytes.txt b/test/syzkaller/qos_auth/kmemtcpusage_in_bytes.txt new file mode 100644 index 0000000000000000000000000000000000000000..967988206ec99ee2dcf31659558d61513d77ed3d --- /dev/null +++ b/test/syzkaller/qos_auth/kmemtcpusage_in_bytes.txt @@ -0,0 +1,10 @@ +include +include +include +include + +resource fd_kmemtcpusage_in_bytes[fd] +openat$fd_kmemtcpusage_in_bytes(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.kmem.tcp.usage_in_bytes"]], flags const[O_RDWR], mode const[0]) fd_kmemtcpusage_in_bytes + +type read_kmemtcpusage_in_bytes array[int8, 1024] +read$kmemtcpusage_in_bytes(fd fd_kmemtcpusage_in_bytes, buf ptr[out, read_kmemtcpusage_in_bytes], len bytesize[buf]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/kmemusage_in_bytes.txt b/test/syzkaller/qos_auth/kmemusage_in_bytes.txt new file mode 100644 index 0000000000000000000000000000000000000000..c8ccadd92e27aa9f8ca8525ce1e499cd2beccfe3 --- /dev/null +++ b/test/syzkaller/qos_auth/kmemusage_in_bytes.txt @@ -0,0 +1,10 @@ +include +include +include +include + +resource fd_kmemusage_in_bytes[fd] +openat$fd_kmemusage_in_bytes(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.kmem.usage_in_bytes"]], flags const[O_RDWR], mode const[0]) fd_kmemusage_in_bytes + +type read_kmemusage_in_bytes array[int8, 1024] +read$kmemusage_in_bytes(fd fd_kmemusage_in_bytes, buf ptr[out, read_kmemusage_in_bytes], len bytesize[buf]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/limit_in_bytes.txt b/test/syzkaller/qos_auth/limit_in_bytes.txt new file mode 100644 index 0000000000000000000000000000000000000000..c23083667bbd437525cb44ba518d50c62f1d8b30 --- /dev/null +++ b/test/syzkaller/qos_auth/limit_in_bytes.txt @@ -0,0 +1,12 @@ +include +include +include +include + +resource fd_limit_in_bytes[fd] +openat$fd_limit_in_bytes(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.limit_in_bytes"]], flags const[O_RDWR], mode const[0]) fd_limit_in_bytes + +write$limit_in_bytes(fd fd_limit_in_bytes, data ptr[in, int32], len bytesize[data]) + +type read_limit_in_bytes array[int8, 1024] +read$limit_in_bytes(fd fd_limit_in_bytes, buf ptr[out, read_limit_in_bytes], len bytesize[buf]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/max_skip_interval.txt b/test/syzkaller/qos_auth/max_skip_interval.txt new file mode 100644 index 0000000000000000000000000000000000000000..3428ae67c351a233fd7b1b4a579168554420fd22 --- /dev/null +++ b/test/syzkaller/qos_auth/max_skip_interval.txt @@ -0,0 +1,14 @@ +include +include +include +include + +resource fd_max_skip_interval[fd] +openat$fd_max_skip_interval(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.max_skip_interval"]], flags const[O_RDWR], mode const[0]) fd_max_skip_interval + +write$MAX_SKIPINTERVAL(fd fd_max_skip_interval, data ptr[in, int32], len bytesize[data]) + +#ifdef CONFIG_HYPERHOLD_DEBUG +type read_max_skip_interval array[int8, 1024] +read$MAX_SKIPINTERVAL(fd fd_max_skip_interval, buf ptr[out, read_max_skip_interval], len bytesize[buf]) +#endif \ No newline at end of file diff --git a/test/syzkaller/qos_auth/max_usage_in_bytes.txt b/test/syzkaller/qos_auth/max_usage_in_bytes.txt new file mode 100644 index 0000000000000000000000000000000000000000..105c7aa8cf59fe40dec69c50de90a7bf2ed4d13e --- /dev/null +++ b/test/syzkaller/qos_auth/max_usage_in_bytes.txt @@ -0,0 +1,12 @@ +include +include +include +include + +resource fd_max_usage_in_bytes[fd] +openat$fd_max_usage_in_bytes(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.max_usage_in_bytes"]], flags const[O_RDWR], mode const[0]) fd_max_usage_in_bytes + +write$max_usage_in_bytes(fd fd_max_usage_in_bytes, data ptr[in, int32], len bytesize[data]) + +type read_max_usage_in_bytes array[int8, 1024] +read$max_usage_in_bytes(fd fd_max_usage_in_bytes, buf ptr[out, read_max_usage_in_bytes], len bytesize[buf]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/move_charge_at_immigrate.txt b/test/syzkaller/qos_auth/move_charge_at_immigrate.txt new file mode 100644 index 0000000000000000000000000000000000000000..64060dd966962a08d37614a832a79f687846f123 --- /dev/null +++ b/test/syzkaller/qos_auth/move_charge_at_immigrate.txt @@ -0,0 +1,12 @@ +include +include +include +include + +resource fd_move_charge_at_immigrate[fd] +openat$fd_move_charge_at_immigrate(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.move_charge_at_immigrate"]], flags const[O_RDWR], mode const[0]) fd_move_charge_at_immigrate + +write$move_charge_at_immigrate(fd fd_move_charge_at_immigrate, data ptr[in, int32], len bytesize[data]) + +type read_move_charge_at_immigrate array[int8, 1024] +read$move_charge_at_immigrate(fd fd_move_charge_at_immigrate, buf ptr[out, read_move_charge_at_immigrate], len bytesize[buf]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/oom_control.txt b/test/syzkaller/qos_auth/oom_control.txt new file mode 100644 index 0000000000000000000000000000000000000000..1b3e5b72cebd19e422749579b5bce84b8e453e34 --- /dev/null +++ b/test/syzkaller/qos_auth/oom_control.txt @@ -0,0 +1,9 @@ +include +include +include +include + +resource fd_oom_control[fd] +openat$fd_oom_control(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.oom_control"]], flags const[O_RDWR], mode const[0]) fd_oom_control + +write$oom_control(fd fd_oom_control, data ptr[in, int32], len bytesize[data]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/reclaim_effi_proc_fops.txt b/test/syzkaller/qos_auth/reclaim_effi_proc_fops.txt new file mode 100644 index 0000000000000000000000000000000000000000..9c9d44c6459d898448efc1685a8753023fca99bb --- /dev/null +++ b/test/syzkaller/qos_auth/reclaim_effi_proc_fops.txt @@ -0,0 +1,9 @@ +include +include +include + +resource fd_reclaim_effciency[fd] +openat$fd_reclaim_effciency(fd const[AT_FDCWD], file ptr[in, string["/proc/reclaim_efficiency"]], flags const[O_RDWR], mode const[0]) fd_reclaim_effciency + +type read_reclaim_effciency array[int8, 1024] +read$RECLAIM_EFFCIENCY(fd fd_reclaim_effciency, buf ptr[out, read_reclaim_effciency], len bytesize[buf]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/reclaimacct_proc_fops.txt b/test/syzkaller/qos_auth/reclaimacct_proc_fops.txt new file mode 100644 index 0000000000000000000000000000000000000000..978beea2161702d61f64eabdd4d987cbf02c18fe --- /dev/null +++ b/test/syzkaller/qos_auth/reclaimacct_proc_fops.txt @@ -0,0 +1,9 @@ +include +include +include + +resource fd_reclaimacct[fd] +openat$fd_reclaimacct(fd const[AT_FDCWD], file ptr[in, string["/proc/reclaimacct"]], flags const[O_RDWR], mode const[0]) fd_reclaimacct + +type read_reclaimacct array[int8, 1024] +read$RECLAIMACCT(fd fd_reclaimacct, buf ptr[out, read_reclaimacct], len bytesize[buf]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/soft_limit_in_bytes.txt b/test/syzkaller/qos_auth/soft_limit_in_bytes.txt new file mode 100644 index 0000000000000000000000000000000000000000..b9a2c1816ff740909809ccb30d8b13f96d4bab5a --- /dev/null +++ b/test/syzkaller/qos_auth/soft_limit_in_bytes.txt @@ -0,0 +1,12 @@ +include +include +include +include + +resource fd_soft_limit_in_bytes[fd] +openat$fd_soft_limit_in_bytes(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.soft_limit_in_bytes"]], flags const[O_RDWR], mode const[0]) fd_soft_limit_in_bytes + +write$soft_limit_in_bytes(fd fd_soft_limit_in_bytes, data ptr[in, int32], len bytesize[data]) + +type read_soft_limit_in_bytes array[int8, 1024] +read$soft_limit_in_bytes(fd fd_soft_limit_in_bytes, buf ptr[out, read_soft_limit_in_bytes], len bytesize[buf]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/swappiness.txt b/test/syzkaller/qos_auth/swappiness.txt new file mode 100644 index 0000000000000000000000000000000000000000..96b913550c773381a927c68dad0cd73d1d635ff4 --- /dev/null +++ b/test/syzkaller/qos_auth/swappiness.txt @@ -0,0 +1,12 @@ +include +include +include +include + +resource fd_swappiness[fd] +openat$fd_swappiness(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.swappiness"]], flags const[O_RDWR], mode const[0]) fd_swappiness + +write$swappiness(fd fd_swappiness, data ptr[in, int32], len bytesize[data]) + +type read_swappiness array[int8, 1024] +read$swappiness(fd fd_swappiness, buf ptr[out, read_swappiness], len bytesize[buf]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/usage_in_bytes.txt b/test/syzkaller/qos_auth/usage_in_bytes.txt new file mode 100644 index 0000000000000000000000000000000000000000..ab38b00e3e453ebdc70c059938e143b698fc5193 --- /dev/null +++ b/test/syzkaller/qos_auth/usage_in_bytes.txt @@ -0,0 +1,10 @@ +include +include +include +include + +resource fd_usage_in_bytes[fd] +openat$fd_usage_in_bytes(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.usage_in_bytes"]], flags const[O_RDWR], mode const[0]) fd_usage_in_bytes + +type read_usage_in_bytes array[int8, 1024] +read$usage_in_bytes(fd fd_usage_in_bytes, buf ptr[out, read_usage_in_bytes], len bytesize[buf]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/use_hierarchy.txt b/test/syzkaller/qos_auth/use_hierarchy.txt new file mode 100644 index 0000000000000000000000000000000000000000..7706328a706761444594f4d596da945574b5b8d1 --- /dev/null +++ b/test/syzkaller/qos_auth/use_hierarchy.txt @@ -0,0 +1,12 @@ +include +include +include +include + +resource fd_use_hierarchy[fd] +openat$fd_use_hierarchy(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.use_hierarchy"]], flags const[O_RDWR], mode const[0]) fd_use_hierarchy + +write$use_hierarchy(fd fd_use_hierarchy, data ptr[in, int32], len bytesize[data]) + +type read_use_hierarchy array[int8, 1024] +read$use_hierarchy(fd fd_use_hierarchy, buf ptr[out, read_use_hierarchy], len bytesize[buf]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/zram_critical_threshold.txt b/test/syzkaller/qos_auth/zram_critical_threshold.txt new file mode 100644 index 0000000000000000000000000000000000000000..4988f627adb03f409b80edf069cc25edeebb71e1 --- /dev/null +++ b/test/syzkaller/qos_auth/zram_critical_threshold.txt @@ -0,0 +1,14 @@ +include +include +include +include + +resource fd_zram_critical_threshold[fd] +openat$fd_zram_critical_threshold(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.zram_critical_threshold"]], flags const[O_RDWR], mode const[0]) fd_zram_critical_threshold + +write$ZRAM_CRITICALTHRESHOLD(fd fd_zram_critical_threshold, data ptr[in, int32], len bytesize[data]) + +#ifdef CONFIG_HYPERHOLD_DEBUG +type read_zram_critical_threshold array[int8, 1024] +read$ZRAM_CRITICALTHRESHOLD(fd fd_zram_critical_threshold, buf ptr[out, read_zram_critical_threshold], len bytesize[buf]) +#endif \ No newline at end of file diff --git a/test/syzkaller/qos_auth/zram_wm_ratio.txt b/test/syzkaller/qos_auth/zram_wm_ratio.txt new file mode 100644 index 0000000000000000000000000000000000000000..a298e4dd82d0d92818fcad5291bba9d554d8499d --- /dev/null +++ b/test/syzkaller/qos_auth/zram_wm_ratio.txt @@ -0,0 +1,9 @@ +include +include +include +include + +resource fd_zram_wm_ratio[fd] +openat$fd_zram_wm_ratio(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.zram_wm_ratio"]], flags const[O_RDWR], mode const[0]) fd_zram_wm_ratio + +write$ZRAM_WMRATI(fd fd_zram_wm_ratio, data ptr[in, int32], len bytesize[data]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/zswapd_max_reclaim_size.txt b/test/syzkaller/qos_auth/zswapd_max_reclaim_size.txt new file mode 100644 index 0000000000000000000000000000000000000000..f93a1fd821f162ffab2b6f705085b3266833ac0b --- /dev/null +++ b/test/syzkaller/qos_auth/zswapd_max_reclaim_size.txt @@ -0,0 +1,9 @@ +include +include +include +include + +resource fd_zswapd_max_reclaim_size[fd] +openat$fd_zswapd_max_reclaim_size(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.zswapd_max_reclaim_size"]], flags const[O_RDWR], mode const[0]) fd_zswapd_max_reclaim_size + +write$ZSWAPD_MAXRECLAIMSIZE(fd fd_zswapd_max_reclaim_size, data ptr[in, int32], len bytesize[data]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/zswapd_memcgs_param.txt b/test/syzkaller/qos_auth/zswapd_memcgs_param.txt new file mode 100644 index 0000000000000000000000000000000000000000..83699a15672d050c68b77395624368a7adc163ad --- /dev/null +++ b/test/syzkaller/qos_auth/zswapd_memcgs_param.txt @@ -0,0 +1,9 @@ +include +include +include +include + +resource fd_zswapd_memcgs_param[fd] +openat$fd_zswapd_memcgs_param(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.zswapd_memcgs_param"]], flags const[O_RDWR], mode const[0]) fd_zswapd_memcgs_param + +write$ZSWAPD_MEMCGSPARAM(fd fd_zswapd_memcgs_param, data ptr[in, int32], len bytesize[data]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/zswapd_pid.txt b/test/syzkaller/qos_auth/zswapd_pid.txt new file mode 100644 index 0000000000000000000000000000000000000000..9e583dc5d01380c277689e47a22e807ede779eb2 --- /dev/null +++ b/test/syzkaller/qos_auth/zswapd_pid.txt @@ -0,0 +1,10 @@ +include +include +include +include + +resource fd_zswapd_pid[fd] +openat$fd_zswapd_pid(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.zswapd_pid"]], flags const[O_RDWR], mode const[0]) fd_zswapd_pid + +type read_fd_zswapd_pid array[int8, 1024] +read$ZSWAPD_PID(fd fd_zswapd_pid, buf ptr[out, read_fd_zswapd_pid], len bytesize[buf]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/zswapd_pressure.txt b/test/syzkaller/qos_auth/zswapd_pressure.txt new file mode 100644 index 0000000000000000000000000000000000000000..f8bd80dc58e01c1159744cccdcc0c1e17700af19 --- /dev/null +++ b/test/syzkaller/qos_auth/zswapd_pressure.txt @@ -0,0 +1,9 @@ +include +include +include +include + +resource fd_zswapd_pressure[fd] +openat$fd_zswapd_pressure(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.zswapd_pressure"]], flags const[O_RDWR], mode const[0]) fd_zswapd_pressure + +write$ZSWAPD_PRESSURE(fd fd_zswapd_pressure, data ptr[in, int32], len bytesize[data]) \ No newline at end of file diff --git a/test/syzkaller/qos_auth/zswapd_single_memcg_param.txt b/test/syzkaller/qos_auth/zswapd_single_memcg_param.txt new file mode 100644 index 0000000000000000000000000000000000000000..2822358eb83aa4644aa783baa142f8f9885d49bd --- /dev/null +++ b/test/syzkaller/qos_auth/zswapd_single_memcg_param.txt @@ -0,0 +1,9 @@ +include +include +include +include + +resource fd_zswapd_single_memcg_param[fd] +openat$fd_zswapd_single_memcg_param(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.zswapd_single_memcg_param"]], flags const[O_RDWR], mode const[0]) fd_zswapd_single_memcg_param + +write$ZSWAPD_SINGLEMEMCGPARAM(fd fd_zswapd_single_memcg_param, data ptr[in, int32], len bytesize[data]) \ No newline at end of file