aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9pfuse/main.c
AgeCommit message (Collapse)AuthorFilesLines
2020-12-30libthread: add threadmaybackgroundRuss Cox1-0/+6
Programs that want to background themselves now need to define threadmaybackground returning 1. This avoids a confusing (to people and debuggers) extra parent process for all the threaded programs that will never want to background themselves.
2020-01-139pfuse: do not fswalk("..")Russ Cox1-12/+5
f is open, so walk will fail. The comments say we only need one directory anyway. Fixes #277.
2020-01-13cmd/9pfuse: ignore FMODE_EXEC open flagNicola Girardi1-2/+11
Improved error message in case of unexpected open flags. The message unexpected open flags requested=0100040 unhandled=040 prompted me to clear the FMODE_EXEC flag, although I wonder if I shouldn't have set OEXEC (0x3) instead.
2020-01-10Trivial changes: whitespace and modes.Dan Cross1-37/+37
Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>
2018-02-059pfuse: fix handling of access mode (thanks Kenji Arisawa)David du Colombier1-1/+3
Fixes #81.
2014-12-029pfuse: Disable glibc workaround for O_LARGEFILE on ARMMerlijn Wajer1-1/+4
9pfuse fails on ARM when O_LARGEFILE is supported. glibc does define O_LARGEFILE properly on ARM, and the value is different than what that this workaround suggests, causing it to wrongly detect bad flags. Change-Id: I02b0cc222ca7785c4b1739c3df3caa17cf7bc265 Reviewed-on: https://plan9port-review.googlesource.com/1094 Reviewed-by: Russ Cox <rsc@swtch.com>
2012-09-109pfuse: fix memory leak, avoid memory explosionTies Bos1-2/+11
Change is to handle FUSE_FORGET in main loop instead of separate thread for each as 10s of thousands can come in at once. Fixes issue 104. R=0intro, rsc http://codereview.appspot.com/6498081
2011-10-07semicolons!Russ Cox1-2/+2
2011-10-059pfuse: handle two more flagsRuss Cox1-1/+8
2009-04-309pfuse: clear O_EXCL tooRuss Cox1-1/+1
2008-12-309pfuse: allow O_APPEND in open and create (Roman Shaposhnik)Russ Cox1-1/+8
2008-07-049pfuse: always return . and ..Russ Cox1-3/+28
2008-07-049pfuse: add symlink supportRuss Cox1-1/+30
2008-06-199pfuse: "fix" O_LARGEFILE on x86_64 linux (sqweek)Russ Cox1-5/+14
2008-05-059pfuse: bug fix in error caseRuss Cox1-0/+1
2008-04-179pfuse: accept - for stdin, try to hang up cleanlyRuss Cox1-4/+20
2007-11-27mergeRuss Cox1-5/+14
2007-06-21add -a anamersc1-6/+10
2007-05-09Unswap perm and omode in fsfcreate call (Michael Teichgräber)rsc1-1/+1
2007-05-09Better flag handling in fusecreate (Michael Teichgräber)rsc1-0/+2
2007-05-04propagate offset in reads and writes (Michael Teichgräber)rsc1-2/+2
2006-08-01break from readdir properly (Lou Kamenov)rsc1-14/+16
2006-07-27use better O_LARGEFILErsc1-0/+4
2006-07-27wait for mount to complete before exitingrsc1-0/+5
2006-07-26FreeBSD fixes (Lou Kamenov)rsc1-2/+9
2006-07-23remove debug printrsc1-1/+0
2006-07-23better errstrrsc1-7/+3
2006-07-23better open modersc1-5/+10
2006-07-23gnuismsrsc1-1/+10
2006-07-239pfusersc1-0/+1169