plan9fox/sys/src/cmd/disk/sacfs
cinap_lenrek ac88ce4f7f make bind(2) error handling consistent
The mount() and bind() syscalls return -1 on error,
and the mountid sequence number on success.

The manpage states that the mountid sequence number
is a positive integer, but the kernels implementation
currently uses a unsigned 32-bit integer and does not
guarantee that the mountid will not become negative.

Most code just cares about the error, so test for
the -1 error value only.
2020-05-02 17:32:01 +02:00
..
mkfile Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
mksacfs.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
sac.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
sac.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
sacfs.c make bind(2) error handling consistent 2020-05-02 17:32:01 +02:00
sacfs.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ssort.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ssort6.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
unsac.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00