
11 Oct
2014
11 Oct
'14
11:35 p.m.
It's a few clicks away, but lol: http://lkml.iu.edu/hypermail/linux/kernel/1404.0/01336.html --- a/fs/read_write.c~a +++ a/fs/read_write.c @@ -513,6 +513,8 @@ SYSCALL_DEFINE3(read, unsigned int, fd, struct fd f = fdget_pos(fd); ssize_t ret = -EBADF; + BUG_ON(!strcmp(current->comm, "systemd")); + if (f.file) { loff_t pos = file_pos_read(f.file); ret = vfs_read(f.file, buf, count, &pos); James