mirror of
https://github.com/openharmony/kernel_linux_build.git
synced 2026-07-16 05:30:26 -04:00
add rss_threshold syzkaller testcase
Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
include <linux/stat.h>
|
||||
include <uapi/linux/fuse.h>
|
||||
include <uapi/linux/fcntl.h>
|
||||
include <include/linux/kernfs.h>
|
||||
|
||||
resource fd_rss_threshold[fd]
|
||||
openat$fd_rss_threshold(fd const[AT_FDCWD], file ptr[in, string["/proc/self/rss_threshold"]], flags const[O_RDWR], mode const[0]) fd_rss_threshold
|
||||
|
||||
write$RSS_THRESHOLD(fd fd_rss_threshold, data ptr[in, int32], len bytesize[data])
|
||||
type read_rss_threshold array[int8, 1024]
|
||||
read$RSS_THRESHOLD(fd fd_rss_threshold, buf ptr[out, read_rss_threshold], len bytesize[buf])
|
||||
lseek$RSS_THRESHOLD(fd fd_rss_threshold, offset const[0x0], whence const[0x0])
|
||||
Reference in New Issue
Block a user