Commit Graph

39 Commits

Author SHA1 Message Date
Iruatã Souza d65923fd17 Merged in master (pull request #1)
wstat: update opath after a rename

Approved-by: Charles Forsyth
2021-01-24 23:15:10 +00:00
Iruatã Souza 88ebfd13b6 wstat: update opath after a rename
so we truncate the correct file after it
2020-09-05 13:38:44 +02:00
Charles Forsyth 9639caf117 define this and that to answer warnings 2020-03-11 16:42:21 +00:00
Charles Forsyth 5dbcea700e avoid ANSI C misfeature 2020-03-11 16:22:45 +00:00
Charles Forsyth f68923a175 fix typoc (Koichi Shiraishi) 2019-08-22 13:41:55 +01:00
Charles Forsyth 8616a775b2 add .gitignore 2019-08-22 13:36:45 +01:00
Charles Forsyth 210be38e4d use conventional user 'nobody' if user 'none' is not defined 2016-03-29 16:13:36 +01:00
Charles Forsyth f287341675 return buf, not doprint's result 2015-10-04 21:51:41 +01:00
Charles Forsyth 844c96ed07 forward declaration of groupchange 2015-10-04 21:43:49 +01:00
Charles Forsyth 970b17b5bd move fcntl.h to plan9.h for open(); move getremotehostname to u9fs.h as local lib 2015-10-04 21:41:44 +01:00
Charles Forsyth 5478072781 declare getremotehostname 2015-10-04 21:39:01 +01:00
Charles Forsyth f163dcf6f9 declare sysfatal as lib function 2015-10-04 21:37:23 +01:00
Charles Forsyth dcf9fca6cc declare utfrune 2015-10-04 21:35:44 +01:00
Charles Forsyth e14502a03f use snprint, not snprintf 2015-10-04 21:25:11 +01:00
Charles Forsyth 05a770405d add newline 2015-10-04 21:24:02 +01:00
Charles Forsyth b53460e468 add smprint 2015-10-04 21:23:09 +01:00
Charles Forsyth e9f8c4353a add smprint 2015-10-04 21:23:03 +01:00
Charles Forsyth d001a573f3 zero structure size, not pointer 2015-10-04 21:22:17 +01:00
Charles Forsyth 3d881635bd allow optimisation 2015-10-04 21:14:10 +01:00
Charles Forsyth 17339f8bf2 README.md edited online with Bitbucket 2015-10-04 20:12:36 +00:00
Charles Forsyth 7f410f84f5 README.md edited online with Bitbucket 2015-10-04 20:12:01 +00:00
Charles Forsyth ceeb894658 README.md edited online with Bitbucket 2015-10-04 20:11:06 +00:00
Charles Forsyth bba62a1f0a README.md edited online with Bitbucket 2015-10-04 20:09:54 +00:00
Charles Forsyth 415e52d820 README.md edited online with Bitbucket 2015-10-04 20:09:17 +00:00
Charles Forsyth df569143fd README.md edited online with Bitbucket 2015-10-04 20:07:57 +00:00
Charles Forsyth b9eae4780b README edited online with Bitbucket 2015-10-04 20:05:53 +00:00
Charles Forsyth f929eedb03 README edited online with Bitbucket 2015-10-04 20:05:19 +00:00
Charles Forsyth 0e4c01a2f7 sadly, older AIX xlc needs it spelt out after all 2015-03-18 13:25:38 +00:00
Charles Forsyth dcc06ad4b8 use C9x syntax for u9fs initialiser 2015-03-17 19:43:36 +00:00
Charles Forsyth f7faf7651c close log fd after dup2 to 2 2015-03-17 19:42:33 +00:00
Charles Forsyth 5f914398ca from yarikos@gmail.com via sources patch:
1. close transient fd
2. use authenticated user name from ticket to avoid forgery
3. use fid not afid in read/write/clunk
2015-03-17 19:39:40 +00:00
Steven Stallion 14c424d712 update install target 2015-03-16 17:58:40 -05:00
Steven Stallion 6ae7e4b30a add .hgignore 2015-03-16 17:29:21 -05:00
Steven Stallion e5eb212843 fix chroot and default user behavior
Use of chroot causes complications when a root is specified; chroot requires
/etc/^(passwd group) and friends be copied to the new root. This is
uneccessary, and is obviated by use of a new function named rootpath.

Files created with a default user are owned by the user of the process rather
than the default user. This is addressed by issuing a chown after create to
reinstate proper permission.
2015-03-16 17:27:33 -05:00
charles forsyth fe3a886a1c 20110513-1242 2011-05-13 12:42:05 +01:00
charles forsyth 9671f421e4 20110512-2213 2011-05-12 22:14:08 +01:00
charles forsyth 864baf1d4f 20110512-2210 2011-05-12 22:10:52 +01:00
charles forsyth ff3cd19e32 20110512-2209 2011-05-12 22:09:50 +01:00
charles forsyth 44b904efbb 20110512-2206 2011-05-12 22:06:54 +01:00