Mailinglist Archive: opensuse-bugs (15136 mails)
| < Previous | Next > |
[Bug 328423] New: apparmor_file_mmap has different number of parameters than security_file_mmap
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Wed, 26 Sep 2007 01:31:21 -0600 (MDT)
- Message-id: <bug-328423-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=328423
Summary: apparmor_file_mmap has different number of parameters
than security_file_mmap
Product: openSUSE 10.3
Version: Beta 3
Platform: Other
OS/Version: Other
Status: NEW
Severity: Critical
Priority: P5 - None
Component: AppArmor
AssignedTo: jjohansen@xxxxxxxxxx
ReportedBy: jjohansen@xxxxxxxxxx
QAContact: dreynolds@xxxxxxxxxx
Found By: ---
compiling the 10.3 kernel has the following warning
nux-2.6.22.7-13.1/security/apparmor/lsm.c:948: warning: initialization
from incomplete type
apparmor file mmap has the following prototype
static int apparmor_file_mmap(struct file *file, unsigned long reqprot,
unsigned long prot, unsigned long flags,
unsigned long addr, unsigned long addr_only)
but security_file_mmap has
int (*file_mmap) (struct file * file,
unsigned long reqprot,
unsigned long prot, unsigned long flags);
this could lead to crashes on some architectures.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Summary: apparmor_file_mmap has different number of parameters
than security_file_mmap
Product: openSUSE 10.3
Version: Beta 3
Platform: Other
OS/Version: Other
Status: NEW
Severity: Critical
Priority: P5 - None
Component: AppArmor
AssignedTo: jjohansen@xxxxxxxxxx
ReportedBy: jjohansen@xxxxxxxxxx
QAContact: dreynolds@xxxxxxxxxx
Found By: ---
compiling the 10.3 kernel has the following warning
nux-2.6.22.7-13.1/security/apparmor/lsm.c:948: warning: initialization
from incomplete type
apparmor file mmap has the following prototype
static int apparmor_file_mmap(struct file *file, unsigned long reqprot,
unsigned long prot, unsigned long flags,
unsigned long addr, unsigned long addr_only)
but security_file_mmap has
int (*file_mmap) (struct file * file,
unsigned long reqprot,
unsigned long prot, unsigned long flags);
this could lead to crashes on some architectures.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |