diff options
| author | Christoph Hellwig <hch@infradead.org> | 2002-10-16 20:10:04 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-10-16 20:10:04 -0700 |
| commit | b5a6c077bd73df8c25dd8df5ca9259b56529822d (patch) | |
| tree | fa7247aa5be1aa6bd98d250cc57d5cce49ee7716 /include/linux | |
| parent | 22652747744ff8deca0166c00d17ba66684bb6ef (diff) | |
[PATCH] remove LSM file_llseek hook
In the initial discussion LSM folks agreed on this, the
rationale is that lsseek itself makes no sense to
project as mmap() and pread/pwrite() allow access to any
area of the file anyway.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/security.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index 072fbe94dd8b..e2f80f6a9dba 100644 --- a/include/linux/security.h +++ b/include/linux/security.h @@ -376,10 +376,6 @@ struct swap_info_struct; * @file_free_security: * Deallocate and free any security structures stored in file->f_security. * @file contains the file structure being modified. - * @file_llseek: - * Check permission before re-positioning the file offset in @file. - * @file contains the file structure being modified. - * Return 0 if permission is granted. * @file_ioctl: * @file contains the file structure. * @cmd contains the operation to perform. @@ -790,7 +786,6 @@ struct security_operations { int (*file_permission) (struct file * file, int mask); int (*file_alloc_security) (struct file * file); void (*file_free_security) (struct file * file); - int (*file_llseek) (struct file * file); int (*file_ioctl) (struct file * file, unsigned int cmd, unsigned long arg); int (*file_mmap) (struct file * file, |
