fcntl F_O{GET,SET}LK take pointer as the arg, handle them properly for
compat32. Reported and tested by: Alex Tutubalin <lexa@lexa.ru> Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
6333a401ff
commit
b53fc49cd4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277211
@ -3032,6 +3032,9 @@ freebsd32_fcntl(struct thread *td, struct freebsd32_fcntl_args *uap)
|
||||
case F_GETLK:
|
||||
case F_SETFD:
|
||||
case F_SETFL:
|
||||
case F_OGETLK:
|
||||
case F_OSETLK:
|
||||
case F_OSETLKW:
|
||||
tmp = (unsigned int)(uap->arg);
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user