mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
linux(4): Call semop directly.
As the Linux semop syscall is not defined in i386, and as it is equal to the native semop syscall, call it directly. Fix semop definition to match Linux actual one - nsops is size_t type. MFC after: 2 weeks
This commit is contained in:
parent
f04534f5c8
commit
f686092664
2 changed files with 8 additions and 8 deletions
|
|
@ -472,11 +472,11 @@
|
|||
l_int semflg
|
||||
);
|
||||
}
|
||||
65 AUE_NULL STD {
|
||||
int linux_semop(
|
||||
65 AUE_NULL NOPROTO {
|
||||
int semop(
|
||||
l_int semid,
|
||||
struct l_sembuf *tsops,
|
||||
l_uint nsops
|
||||
struct sembuf *sops,
|
||||
l_size_t nsops
|
||||
);
|
||||
}
|
||||
66 AUE_NULL STD {
|
||||
|
|
|
|||
|
|
@ -1137,11 +1137,11 @@
|
|||
192 AUE_NULL STD {
|
||||
int linux_semtimedop(void);
|
||||
}
|
||||
193 AUE_NULL STD {
|
||||
int linux_semop(
|
||||
193 AUE_NULL NOPROTO {
|
||||
int semop(
|
||||
l_int semid,
|
||||
struct l_sembuf *tsops,
|
||||
l_uint nsops
|
||||
struct sembuf *sops,
|
||||
l_size_t nsops
|
||||
);
|
||||
}
|
||||
194 AUE_NULL STD {
|
||||
|
|
|
|||
Loading…
Reference in a new issue