freebsd-skq/sbin/mount_portalfs
gpalmer 0ff5903c59 Bugfixes :
- in mount_portal.c: included catching of SIGHUP to get portald to
  re-read the config file.

  - in mount_portal.c: in SIGCHLD handler the return values checked from
  waitpid were wrong. Note. this routine was written correclty according
  to the manual page for 4.4BSD, but waitpid does not exhibit this
  behaviour. It is not returning 0 when WNOHANG is specified. I havent
  checked this properly.

  - in mount_portal.c: initialized the fdset for the select properly.

  - in mount_portal.c: corrected poor casting in the select.

  - in mount_portal.c: changed a break; to exit (0); so that the
  children die after doing the hard work, this stops the select: bad
  file descriptor messages.

  - in pt_file.c: the kernel passes kernel style open flags to the
  portal code which aren't compatible with "normal" O_ flags. I have
  adjusted these in pt_file.c. In general I think the portal fs code
  and portal_cred structure need changing to pass to the portald
  the right style of flags _and_ the permissions.

  - in pt_tcp.c: a few mistakes in typing of the socket structures,
  getservbyname returns the port number as an int but sockaddr wants
  the port number as an u_short.

  - in pt_tcp.c: someone wrote this on a VAX/Sun whatever and forget
  about byte ordering!! I've included a few htons about the place.

  - in all the above I have sprinkled a few more debugging printf's.

Submitted by:	"Duncan McL Barclay" <dmlb@ohm.york.ac.uk
1995-04-19 12:24:08 +00:00
..
activate.c BSD 4.4 Lite sbin Sources 1994-05-26 06:35:07 +00:00
conf.c Use POSIX.2 regular expressions, get rid of libcompat. 1995-02-21 04:05:20 +00:00
Makefile Use POSIX.2 regular expressions, get rid of libcompat. 1995-02-21 04:05:20 +00:00
mount_portalfs.8 BSD 4.4 Lite sbin Sources 1994-05-26 06:35:07 +00:00
mount_portalfs.c Bugfixes : 1995-04-19 12:24:08 +00:00
pathnames.h BSD 4.4 Lite sbin Sources 1994-05-26 06:35:07 +00:00
portal.conf BSD 4.4 Lite sbin Sources 1994-05-26 06:35:07 +00:00
portald.h BSD 4.4 Lite sbin Sources 1994-05-26 06:35:07 +00:00
pt_conf.c BSD 4.4 Lite sbin Sources 1994-05-26 06:35:07 +00:00
pt_exec.c BSD 4.4 Lite sbin Sources 1994-05-26 06:35:07 +00:00
pt_file.c Bugfixes : 1995-04-19 12:24:08 +00:00
pt_tcp.c Bugfixes : 1995-04-19 12:24:08 +00:00