jk> Userland code should be checking for kernel support for jk> features before attempting to use them. dx> I don't think user code should check it before it can be dx> used, actually, it is being used by thread libraries to dx> implement named semaphore, it is requred by POSIX. Well, support for posix semaphores is not turned on in GENERIC, and so code that calls sem_init(3) is rudely sent a SIGSYS today. How about the attached patch to make our libraries better behaved with kernels that lack the P1003_1B_SEMAPHORES option? -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:52 UTC