[uClibc-cvs] [uClibc 0000012]: add #ifdef __NR_umount

bugs at busybox.net bugs at busybox.net
Thu Aug 25 01:13:34 UTC 2005


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=12 
====================================================================== 
Reported By:                anemo
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   12
Category:                   Other
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             01-14-2005 06:59 PST
Last Modified:              08-24-2005 18:13 PDT
====================================================================== 
Summary:                    add #ifdef __NR_umount
Description: 
add #ifdef __NR_umount for archs which did not have it.
====================================================================== 

---------------------------------------------------------------------- 
 andersen - 01-15-05 21:24  
---------------------------------------------------------------------- 
Yep, some arches don't have it.  Patch applied. 

---------------------------------------------------------------------- 
 anemo - 01-16-05 04:57  
---------------------------------------------------------------------- 
Thanks for your fix.  But I hope uClibc emulate umount systemcall using
umount2 systemcall so that busybox umount command works well without
modification.  How about this idea? 

---------------------------------------------------------------------- 
 andersen - 01-23-05 03:27  
---------------------------------------------------------------------- 
Good point.  Done. 

---------------------------------------------------------------------- 
 anemo - 01-24-05 05:42  
---------------------------------------------------------------------- 
Thank you.  But your fix is broken.  The umount function must have only one
argument.  Also _syscall2() is not a callable function.  Please apply new
patch. 

---------------------------------------------------------------------- 
 andersen - 02-24-05 20:58  
---------------------------------------------------------------------- 
This problem has been fixed...

r9867 | vapier | 2005-02-13 01:11:38 -0700 (Sun, 13 Feb 2005) | 1 line

x86_64 fixes: make sure the fall back routine for using umount2() for
umount() actually works :)
 

---------------------------------------------------------------------- 
 anemo - 02-24-05 21:36  
---------------------------------------------------------------------- 
No,  it seems still broken.  The umount() should have only one argument. 

---------------------------------------------------------------------- 
 andersen - 02-24-05 22:00  
---------------------------------------------------------------------- 
How about now?
http://uclibc.org/cgi-bin/viewcvs.cgi/trunk/uClibc/libc/sysdeps/linux/common/umount.c?p2=%2Ftrunk%2FuClibc%2Flibc%2Fsysdeps%2Flinux%2Fcommon%2Fumount.c&p1=trunk%2FuClibc%2Flibc%2Fsysdeps%2Flinux%2Fcommon%2Fumount.c&r1=9939&r2=9938&rev=9939&view=diff&diff_format=u


---------------------------------------------------------------------- 
 anemo - 02-24-05 23:06  
---------------------------------------------------------------------- 
Not yet.  It declares inline function 'umount2()' but umount() calls
'__syscall_umount2()'.  Please resolve this. 

---------------------------------------------------------------------- 
 anemo - 08-24-05 18:07  
---------------------------------------------------------------------- 
Already fixed.
http://www.uclibc.org/cgi-bin/viewcvs.cgi?rev=10654&view=rev
Please close this issue.  Thanks. 

---------------------------------------------------------------------- 
 vapier - 08-24-05 18:13  
---------------------------------------------------------------------- 
heh, ok ... didnt even see this bug :) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-14-05 06:59  anemo          New Issue                                    
01-14-05 06:59  anemo          File Added: uClibc-0.9.27-no-umount.patch        
           
01-15-05 21:24  andersen       Note Added: 0000005                          
01-15-05 21:24  andersen       Status                   assigned => resolved
01-15-05 21:24  andersen       Resolution               open => fixed       
01-16-05 04:57  anemo          Status                   resolved => feedback
01-16-05 04:57  anemo          Resolution               fixed => reopened   
01-16-05 04:57  anemo          Note Added: 0000006                          
01-23-05 03:27  andersen       Note Added: 0000021                          
01-23-05 03:27  andersen       Status                   feedback => resolved
01-23-05 03:27  andersen       Resolution               reopened => fixed   
01-24-05 05:42  anemo          Status                   resolved => feedback
01-24-05 05:42  anemo          Resolution               fixed => reopened   
01-24-05 05:42  anemo          Note Added: 0000023                          
01-24-05 05:42  anemo          File Added: uClibc-umount.patch                  
 
02-24-05 20:58  andersen       Note Added: 0000061                          
02-24-05 20:58  andersen       Status                   feedback => resolved
02-24-05 20:58  andersen       Resolution               reopened => fixed   
02-24-05 21:36  anemo          Status                   resolved => feedback
02-24-05 21:36  anemo          Resolution               fixed => reopened   
02-24-05 21:36  anemo          Note Added: 0000064                          
02-24-05 22:00  andersen       Note Added: 0000065                          
02-24-05 23:06  anemo          Note Added: 0000066                          
03-16-05 11:50  andersen       Status                   feedback => assigned
03-16-05 11:50  andersen       Assigned To              andersen => uClibc  
08-24-05 18:07  anemo          Note Added: 0000430                          
08-24-05 18:13  vapier         Note Added: 0000432                          
08-24-05 18:13  vapier         Status                   assigned => closed  
08-24-05 18:13  vapier         Resolution               reopened => fixed   
======================================================================




More information about the uClibc-cvs mailing list