Commit Graph

14902 Commits

Author SHA1 Message Date
dsl
67d513dd66 Remove __P() 2011-05-18 19:36:36 +00:00
manu
e0a6df40c2 - Proper permission checks when doing directory traversal. e.g.: run
rm dir/file while dir was never looked up since the mount. In that
situation, we get lookup with pcn_nameiop NAMEI_DELETE for dir before
we get it for file. But for dir we are just looking for PUFFS_VEXEC.
This is solved by honouring NAMEI_ISLASTCN, which is set for the last
element only

- do not send O_EXCL to FUSE as documentation forbids it.

- fix warning
2011-05-18 15:28:12 +00:00
manu
286587ad9c Set buffer size as big in nomal mode as we do in debug mode, when
perfused stays in foreground. The difference is a mistake and was not
intended.

There is still a bug ready to bite here, since SOCK_STREAM is not reliable.
We just hope that buffers are big enough to hold all packets, but if they
are overflown, we loose a packet and a file operation gets stuck.

We really nee SOCk_SEQPACKET here, but unfortunately it is very broken at
that time.
2011-05-18 15:25:19 +00:00
manu
e7a016f266 typos 2011-05-18 15:22:54 +00:00
christos
713ea1897d cleanup saving and restoring errno, and make it similar. 2011-05-18 01:59:39 +00:00
joerg
c98c805c05 Trailing white space 2011-05-17 07:10:39 +00:00
enami
bde048cc49 Use Pq or Po macro for better output rather than putting raw open paren
at the end of line.
2011-05-17 03:35:38 +00:00
drochner
ccdea5df98 -fix maximum length of salt (missing prefix, rounding error)
-clip number of rounds at 31 -- this is log2 of the real number,
 and anything larger would break exponentation
-catch possible atoi() error where log2(rounds) is parsed in the
 salt prefix
-zero crypto state on exit
from Open/FreeBSD
2011-05-16 10:45:56 +00:00
drochner
9c09925b41 fix ipad/opad buffer length (was one too much), just for sanity 2011-05-16 10:39:12 +00:00
christos
ec3000cfb2 PR/44959: Henning Petersen: glob forgets to closedir on out of space condition. 2011-05-14 22:44:06 +00:00
nonaka
9af4d11fa4 Use "_end" instead of "end" for consistency with other architectures. 2011-05-13 23:14:36 +00:00
christos
1ff5a5dfd6 don't let readlink trash errno.; 2011-05-13 23:11:00 +00:00
manu
6b36a33563 Mont FUSE filesystem with proprer source and fstype so that df and mount
display something that makes sense
2011-05-12 10:32:41 +00:00
jakllsch
32dec9bd40 Use sysconf(_SC_PAGESIZE) instead of PAGE_SIZE. 2011-05-11 14:52:48 +00:00
njoly
411ef8d5d2 Small typo in macro (Xd -> Xr). 2011-05-10 12:14:37 +00:00
jruoho
881e57fce3 Remove trailing '\'. 2011-05-10 09:07:51 +00:00
jruoho
31061e207a Split out the ilogb(3) family out of ieee(3) and properly document it. 2011-05-10 06:38:33 +00:00
drochner
e7c5804ca9 rearrange variable usage to kill __UNCONST
reviewed by sjg
2011-05-09 19:15:28 +00:00
jruoho
fa096afe20 Xref raise_default_signal(3). 2011-05-09 09:06:21 +00:00
manu
73963ae9de Enable the build of perfused and libperfuse 2011-05-09 08:51:08 +00:00
drochner
69de8de8f1 remove excess newlines in debug output 2011-05-06 17:22:09 +00:00
wiz
93cfe89ec0 Add missing preposition. 2011-05-05 07:36:44 +00:00
jruoho
19742b4964 Fix lead paragraph. 2011-05-05 05:58:14 +00:00
manu
38ecbcf429 Fixes for the advlock method. It can now sustain pkgsrc/devel/locktests
with glusterfs as backend
2011-05-03 13:19:50 +00:00
manu
7f87f63c56 Call advlock method if supplied 2011-05-03 13:16:47 +00:00
manu
f8934bcc9b Fix build (libperfuse is still not built by default, but time is coming) 2011-05-03 13:14:09 +00:00
wiz
daf04c06a3 Remove \*[q] -- not necessary, just use plain double quotes instead. 2011-05-03 09:36:24 +00:00
jruoho
5517207853 Xref bswap(3). Simplify STANDARDS. 2011-05-03 04:07:39 +00:00
jruoho
db3b8477d4 Clarify STANDARDS (i.e. cf. ualarm(3) is no longer in POSIX). 2011-05-02 17:34:05 +00:00
jruoho
a192422bb6 Note also that the interaction between setitimer(2) and alarm(3) or sleep(3)
is unspecified.
2011-05-02 17:14:20 +00:00
jruoho
04b57bd832 Remove NOTES as it is documented in itimerval(3). Remove #ifdefs from
SYNOPSIS (these are visible enough in the body of the text). Use a list for
the timers. Improve wording and markup.
2011-05-02 17:01:52 +00:00
christos
89d0622f3e Start eliminating "super-user" from the documentation. 2011-05-01 02:54:22 +00:00
christos
0a101028d4 nice should always return EPERM, not EACCES 2011-05-01 02:49:54 +00:00
martin
251de2dee0 Save a few global registers during set/longjmp - at least the application
registers and the only currently used system register (%g7).
Sparc now passes the setjmp tests (and should be able to build perl again).
2011-04-30 23:41:12 +00:00
martin
9881f8de04 Fix previous: the way we calculate, we need to test the size of sigjmp_buf 2011-04-30 23:39:08 +00:00
martin
c670087695 Add another compile time assert: catch overflows of jmp_buf 2011-04-30 23:30:27 +00:00
martin
b549c67469 Save/restore some global registers (sigsetjmp compatible). Does not realy
make a difference currently, but is a hard to spot blackhole if something
ever starts using the application registers.
2011-04-30 19:43:17 +00:00
martin
44283e6e19 Rearange jmp_buf content again: storing the sigsetjmp() save_mask midway
inside the environment is not a good idea, we may overwrite it when
fetching other details of the sigjmp environment.
Instead move it to the very end again.
Do not bother to save volatile (caller saved) global registers.
Fixes PR port-sparc64/44918.
2011-04-30 19:39:38 +00:00
alnsn
df45d61f55 Save/restore errno in error path in dupgood. Check that n>0 before
accessing banner[n-1].

Approved a while ago by pooka@
2011-04-30 12:25:05 +00:00
wiz
3ecc6ccf87 Mark up NULL. 2011-04-29 09:43:28 +00:00
matt
e148e1968d Use correct CALLFRAME_SIZ depending on ABI. 2011-04-29 08:05:22 +00:00
wiz
83e8266979 Sort sections and errors. 2011-04-28 16:34:01 +00:00
wiz
1536c249f7 Markup fixes. 2011-04-28 16:16:23 +00:00
wiz
0b0f158833 New sentence, new line. Use more markup. 2011-04-28 14:59:27 +00:00
wiz
29e0fd69e9 Sort sections. 2011-04-28 12:00:55 +00:00
wiz
3652074286 Sort ERRORS. 2011-04-28 11:58:50 +00:00
wiz
560b21b44e Fix a typo. 2011-04-28 11:56:26 +00:00
wiz
dbd13d8219 Spelling. 2011-04-28 11:22:44 +00:00
martin
d21307a5d2 Fix offsets used in the assembly code to save global registers into a
jmp_buf, add a compile time assert to catch this kind of divergence
in the C code.
Move the fixed "%npc = %pc + 4" computation to longjmp, this frees
the sigcontext sc_npc value. Use this space to save the savemask
for siglongjmp (we have run out of space behind the globals).
Fixes the tests/lib/libc/setjmp/t_threadjmp tests, and also hopefully
fixes PR port-sparc64/44902.
2011-04-27 21:08:48 +00:00
wiz
8973a7a700 Sort sections. 2011-04-25 23:14:33 +00:00