aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_portalfs/pt_file.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove smbfs, portalfs, and nwfs from sbin. The sources live in usr.sbinGordon Tetlow2003-07-021-109/+0
| | | | | | | now. Notes: svn path=/head/; revision=117170
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Correct use of .Nm. Spelling. Add rcsid and remove unused #includes.Philippe Charnier1998-07-061-6/+7
| | | | Notes: svn path=/head/; revision=37429
* Merge from Lite2 (use new getvfsbyname() and mount(2) interface)Peter Wemm1997-03-111-2/+2
| | | | Notes: svn path=/head/; revision=23680
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22990
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Bugfixes :Gary Palmer1995-04-191-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=7936
* bugfix: change gidset[] type from int to gid_tAndrey A. Chernov1994-09-191-2/+2
| | | | Notes: svn path=/head/; revision=2891
* BSD 4.4 Lite sbin SourcesRodney W. Grimes1994-05-261-0/+106
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin. Notes: svn path=/head/; revision=1558