https://bugzilla.mindrot.org/show_bug.cgi?id=3715

--- Comment #7 from Joshua Hudson <[email protected]> ---
One problem here is that statvfs() isn't specified to return ST_NOEXEC
and ST_NODEV https://pubs.opengroup.org/onlinepubs/9799919799/ and
indeed quite a few operating systems don't do it:

Correct: in my imagination autoconf would notice the constants aren't
in the header file or the header file doesn't exist and it just reverts
to the target directory must indeed be owned by root.

If the constants exist in the header file the and the OS doesn't return
the flags; well it fails safe.

My own man page is telling me to not call statfs().

I suppose I could do a #elif HAVE_STATFS here (and rearrange the code a
bit).

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to