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:
Dmitry Chagin 2022-05-06 19:58:53 +03:00
parent f04534f5c8
commit f686092664
2 changed files with 8 additions and 8 deletions

View file

@ -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 {

View file

@ -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 {