Bug 39468 - Integration of TUX broke higher number system calls
Summary: Integration of TUX broke higher number system calls
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ingo Molnar
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-07 20:43 UTC by Chip Christian
Modified: 2007-04-18 16:33 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-05-07 21:32:21 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2001:084 0 normal SHIPPED_LIVE Kernel: Kernel: 2001-06-21 04:00:00 UTC

Description Chip Christian 2001-05-07 20:43:40 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)

Description of problem:
linux/arch/i386/kernel/entry.S is broken in that if I choose to 
install TUX neither monolithic nor as a module all higher numbered
system calls are moved one position too low.

How reproducible:
Always

Steps to Reproduce:
1.Build a kernel with POSIX ACL support
2.Try to use it
3.
	

Actual Results:  Calling sys_acl_get calls sys_acl_set.  Calling 
sys_acl_set returns
ENOSYS

Additional info:

Apply this patch:

--- linux.old/arch/i386/kernel/entry.S      Mon May  7 14:07:15 2001
+++ linux-2.4/arch/i386/kernel/entry.S Mon May  7 13:58:14 2001
@@ -651,6 +651,8 @@
 # ifdef CONFIG_TUX_MODULE
        .long SYMBOL_NAME(sys_tux)
 # endif
+#else
+       .long SYMBOL_NAME(sys_ni_syscall)
 #endif
        .long SYMBOL_NAME(sys_ni_syscall)
        .long SYMBOL_NAME(sys_ni_syscall)

Comment 1 Ingo Molnar 2001-05-08 08:40:56 UTC
thanks, i've applied your fix, it should show up in the next kernel errata.


Comment 2 Chip Christian 2001-05-08 18:38:16 UTC
I hope you didn't apply my patch as is...  I put the else after the inner
endif, when it obviously needs to come before!


Note You need to log in before you can comment on or make changes to this bug.