Posix specs[1] specify that some values should be returned in case of invalid 
parameters.
Add these check to the Hurd implementation to make it compliant.


[1]. https://pubs.opengroup.org/onlinepubs/9799919799/functions/msync.html

Etienne Brateau (1):
  hurd: add validations in msync

 sysdeps/mach/hurd/msync.c | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

-- 
2.54.0


Reply via email to