Commit b51989ff authored by Linus Torvalds's avatar Linus Torvalds

Make 'WRITE_BUFFER' require CAP_RAWIO capability

Pointed out by Kai Makisara.
parent e231c6ea
...@@ -154,7 +154,6 @@ static int verify_command(struct file *file, unsigned char *cmd) ...@@ -154,7 +154,6 @@ static int verify_command(struct file *file, unsigned char *cmd)
safe_for_write(WRITE_12), safe_for_write(WRITE_12),
safe_for_write(WRITE_VERIFY_12), safe_for_write(WRITE_VERIFY_12),
safe_for_write(WRITE_16), safe_for_write(WRITE_16),
safe_for_write(WRITE_BUFFER),
safe_for_write(WRITE_LONG), safe_for_write(WRITE_LONG),
}; };
unsigned char type = cmd_type[cmd[0]]; unsigned char type = cmd_type[cmd[0]];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment