[Bug 366040] New: pthread - sem_open command panics if globally unique identifier refers to existing file
https://bugzilla.novell.com/show_bug.cgi?id=366040 Summary: pthread - sem_open command panics if globally unique identifier refers to existing file Product: SUSE Linux 10.1 Version: Final Platform: All OS/Version: SuSE Linux 10.1 Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: estellnb@gmail.com QAContact: qa@suse.de Found By: --- actual behaviour: If the '*name'-argument refers to an existing file, directory or mountpoint (f.e./home) sem_open issues one of the following errors: sem_open failed : No such file or directory sem_open failed : Not a directory sem_open failed : Permission denied This can easily happen since '/somename' rather than 'somename' has been suggested as an ident. Besides this an implementation based on semget/ftok will in deed require a real filename. man:sem_overview(7): Named semaphores A named semaphore is identified by a name of the form /somename. Two processes can operate on the same named semaphore by passing the same name to sem_open(3). rpm -qf /usr/lib/libpthread.so glibc-devel-2.4-31.43.6 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=366040
User estellnb@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366040#c1
--- Comment #1 from Elmar Stellnberger (AT/K)
https://bugzilla.novell.com/show_bug.cgi?id=366040
Cyril Hrubis
participants (1)
-
bugzilla_noreply@novell.com