Commit Graph

10 Commits

Author SHA1 Message Date
kre fe6f1f01c1 PR bin/54222
Don't use portal_node_reclaim() inappropriately.   It frees data we
did not allocate, but which might have been allocated by someone else.

While here, various other cleanups (avoid losing fd's if fork fails,
don't compose mangled st_mode S_IFMT values - puffs or's in what it
thinks is correct to the value we set, one case I saw was producing
0110600 for the mode, the 011 isn't any defined type at all - I'd
never seen ls print a '?' as the first char of ls -l output before!

This is still not really correct, but is I believe, better than before.
2019-05-23 11:13:17 +00:00
christos f82096efe2 We need to provide a size for getattr for the cp example to work, so cheat
and use fstat() to do it instead of libpuffs.
2017-05-10 16:35:18 +00:00
christos ab25bee7cd prevent hang on vnode EOF. 2017-05-09 21:17:54 +00:00
christos d6532d627c include the headers that you need. 2012-11-04 22:30:23 +00:00
matt cf7ed4c9cc Convert to C89 function definitions 2012-03-20 18:50:30 +00:00
riastradh dade315727 Fix error reporting in puffs_framev_enqueue_waitevent and callers.
ok christos
2011-12-19 15:36:26 +00:00
joerg baa8e84b6f Use __dead 2011-08-29 14:34:58 +00:00
pooka 0f5249be8d Use CMSG_SPACE() for buffer when receiving file descriptors.
Doesn't break i386 and might be better for sparc64.
2009-12-19 16:01:25 +00:00
pooka 3b4bfde519 use puffs_cookie_t. no functional change. 2009-12-05 20:29:19 +00:00
pooka 8dec10527a Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs.  User functionality remains the same.
(missed new file in change batch)
2009-12-05 20:25:32 +00:00