summaryrefslogtreecommitdiff
path: root/src/ipc/semget.c
AgeCommit message (Collapse)AuthorFilesLines
2019-07-01ipc: prefer SYS_ipc when it is definedSzabolcs Nagy1-1/+1
Linux v5.1 introduced ipc syscalls on targets where previously only SYS_ipc was available, change the logic such that the ipc code keeps using SYS_ipc which works backward compatibly on older kernels. This changes behaviour on microblaze which had both mechanisms, now SYS_ipc will be used instead of separate syscalls.
2013-06-28work around wrong kernel type for sem_nsems member of struct semid_dsRich Felker1-0/+7
rejecting invalid values for n is fine even in the case where a new sem will not be created, since the kernel does its range checks on n even in this case as well. by default, the kernel will bound the limit well below USHRT_MAX anyway, but it's presumably possible that an administrator could override this limit and break things.
2011-04-06consistency: change all remaining syscalls to use SYS_ rather than __NR_ prefixRich Felker1-1/+1
2011-03-20global cleanup to use the new syscall interfaceRich Felker1-2/+2
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker1-0/+12