Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 39468

Summary: Integration of TUX broke higher number system calls
Product: [Retired] Red Hat Linux Reporter: Chip Christian <chip.christian>
Component: kernelAssignee: Ingo Molnar <mingo>
Status: CLOSED ERRATA QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-05-07 21:32:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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!