404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.147.75.131: ~ $
#!/bin/sh

drm_header_dir=$1
printf "#ifndef DRM_COMMAND_BASE\n"
grep "#define DRM_COMMAND_BASE" $drm_header_dir/drm.h
printf "#endif\n"

printf "static const char *drm_ioctl_cmds[] = {\n"
grep "^#define DRM_IOCTL.*DRM_IO" $drm_header_dir/drm.h | \
	sed -r 's/^#define +DRM_IOCTL_([A-Z0-9_]+)[	 ]+DRM_IO[A-Z]* *\( *(0x[[:xdigit:]]+),*.*/	[\2] = "\1",/g'
grep "^#define DRM_I915_[A-Z_0-9]\+[	 ]\+0x" $drm_header_dir/i915_drm.h | \
	sed -r 's/^#define +DRM_I915_([A-Z0-9_]+)[	 ]+(0x[[:xdigit:]]+)/\t[DRM_COMMAND_BASE + \2] = "I915_\1",/g'
printf "};\n"

Filemanager

Name Type Size Permission Actions
drm_ioctl.sh File 551 B 0755
kcmp_type.sh File 249 B 0755
kvm_ioctl.sh File 435 B 0755
madvise_behavior.sh File 326 B 0755
perf_ioctl.sh File 361 B 0755
pkey_alloc_access_rights.sh File 358 B 0755
prctl_option.sh File 573 B 0755
sndrv_ctl_ioctl.sh File 288 B 0755
sndrv_pcm_ioctl.sh File 288 B 0755
vhost_virtio_ioctl.sh File 722 B 0755