Mimi Zohar
1df9f0a731
Integrity: IMA file free imbalance
...
The number of calls to ima_path_check()/ima_file_free()
should be balanced. An extra call to fput(), indicates
the file could have been accessed without first being
measured.
Although f_count is incremented/decremented in places other
than fget/fput, like fget_light/fput_light and get_file, the
current task must already hold a file refcnt. The call to
__fput() is delayed until the refcnt becomes 0, resulting
in ima_file_free() flagging any changes.
- add hook to increment opencount for IPC shared memory(SYSV),
shmat files, and /dev/zero
- moved NULL iint test in opencount_get()
Signed-off-by: Mimi Zohar <zohar@us.ibm.com >
Acked-by: Serge Hallyn <serue@us.ibm.com >
Signed-off-by: James Morris <jmorris@namei.org >
2009-02-06 09:05:33 +11:00
..
2008-12-23 15:21:38 -05:00
2008-12-18 17:21:07 +00:00
2008-12-22 07:15:03 -08:00
2008-12-23 16:19:00 -05:00
2008-12-30 16:51:43 -05:00
2008-12-17 10:49:14 -08:00
2008-12-29 08:29:50 +01:00
2009-02-06 09:05:30 +11:00
2008-12-29 08:29:50 +01:00
2008-12-29 08:29:50 +01:00
2008-12-29 08:28:44 +01:00
2009-01-07 09:38:48 +11:00
2008-12-29 17:47:23 +10:00
2008-12-25 11:01:43 +11:00
2008-12-25 11:01:33 +11:00
2008-12-21 20:10:29 -08:00
2008-12-29 07:39:34 -05:00
2008-12-29 08:29:50 +01:00
2008-12-29 11:27:46 +02:00
2008-12-22 18:44:05 +09:00
2008-12-29 16:47:18 +11:00
2008-12-21 09:46:45 +01:00
2008-12-29 08:29:51 +01:00
2008-12-30 16:10:19 -08:00
2008-12-29 20:27:37 +01:00
2008-12-17 15:47:48 -08:00
2009-02-06 09:05:33 +11:00
2008-12-25 11:40:29 +01:00
2008-12-30 16:20:19 -08:00
2008-12-25 16:27:54 +01:00
2008-12-23 15:21:56 -05:00
2008-12-30 16:10:19 -08:00
2008-12-30 09:26:11 +10:30
2008-12-28 22:43:21 -05:00
2008-12-30 16:20:19 -08:00
2008-12-29 08:29:50 +01:00
2008-12-28 12:21:10 -08:00
2008-12-22 20:43:12 -08:00
2008-12-23 15:21:45 -05:00
2008-12-23 15:21:56 -05:00
2008-12-23 15:21:37 -05:00
2008-12-23 15:21:56 -05:00
2008-12-19 15:22:54 -05:00
2008-12-21 14:21:14 +11:00
Merge branches 'x86/apic', 'x86/cleanups', 'x86/cpufeature', 'x86/crashdump', 'x86/debug', 'x86/defconfig', 'x86/detect-hyper', 'x86/doc', 'x86/dumpstack', 'x86/early-printk', 'x86/fpu', 'x86/idle', 'x86/io', 'x86/memory-corruption-check', 'x86/microcode', 'x86/mm', 'x86/mtrr', 'x86/nmi-watchdog', 'x86/pat2', 'x86/pci-ioapic-boot-irq-quirks', 'x86/ptrace', 'x86/quirks', 'x86/reboot', 'x86/setup-memory', 'x86/signal', 'x86/sparse-fixes', 'x86/time', 'x86/uv' and 'x86/xen' into x86/core
2008-12-23 16:27:23 +01:00
2008-12-20 09:15:46 +01:00
2008-12-30 16:10:19 -08:00
2008-12-18 21:56:04 +01:00
2008-12-30 17:31:25 -08:00
2008-12-28 12:27:58 -08:00
2009-01-07 09:38:48 +11:00
2008-12-29 11:45:47 +02:00
2009-02-03 11:23:12 +11:00
2008-12-28 12:21:10 -08:00
2008-12-29 08:29:51 +01:00
2008-12-30 09:40:20 -02:00
2008-12-30 09:26:04 +10:30
2008-12-30 09:26:10 +10:30
2008-12-30 09:25:58 +10:30
2008-12-30 09:26:03 +10:30