Commit Graph

14865 Commits

Author SHA1 Message Date
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
wiz
d489035474 Markup consistency, from YOMURA Masanori. Add serial comma. 2011-04-25 22:47:27 +00:00
wiz
3f4e964f9f Sort errors. 2011-04-25 22:38:34 +00:00
christos
736e11067f - make log_krb5 varyadic
- centralize error handling to one function
- check for NULL context
2011-04-25 22:22:25 +00:00
christos
def46fd94a fix pasto (of no consequence) 2011-04-25 22:03:20 +00:00
christos
4a04b195ef - make log_krb5 varyadic and merge the last error message.
- check for NULL context.
- print a more meaningful error when things go south
2011-04-25 22:01:04 +00:00
manu
c3c545a544 - Implement proper unprivilegied user permission verifications
Verification is now done in the lookup method, as it is the way to
go. Of course there are corner cases, such as the sticky bit which
need special handling in the remove method.

- Set full fsidx in vftstat method

- Do not pass O_APPEND to the filesystem. FUSE always sends the
write offset, so setting O_APPEND is useless. If the filesystem
uses it in an open(2) system call, it will even cause file
corruptions, since offsets given to pwrite(2) will be ignored.
This fix allows glusterfs to host a NetBSD ./build.sh -o build

- Do not use the FUSE access method, use getattr and check for
permission on our own. The problem is that a FUSE filesystem will
typically use the Linux-specific setfsuid() to perform access
control. If that is missing, any chack is likely to occur on
behalf of the user running the filesystem (typically root), causing
access method to return wrong information.

- When possible, avoid performing a getattr method call and use
cached value in puffs_node instead. We still retreive the latest
value by calling getattr when performing append write operation,
to minimize the chances that another writer appended since the
last time we did.

- Update puffs_node cached file size in write method

- Remove unused argument to perfuse_destroy_pn()
2011-04-25 04:54:53 +00:00
elric
8d159f43a8 We no longer need to -I/usr/include/krb5. 2011-04-24 19:00:56 +00:00
elric
6daa88e0a9 Stop using functions that are deprecated in Heimdal. 2011-04-24 19:00:31 +00:00
elric
0fce8776fa Stop using functions that are marked as deprecated in Heimdal. 2011-04-24 18:53:55 +00:00
elric
a9c7955034 Remove use of functions marked as deprecated in Heimdal. 2011-04-24 18:48:04 +00:00
christos
322a9e7966 fix freudian slip 2011-04-24 01:56:44 +00:00
joerg
5c2887509e Don't kill the read(2) stub, just the magic around it. 2011-04-22 14:18:34 +00:00
joerg
77abb554dc Disable Fortification for pthread and rump stubs. 2011-04-21 13:38:14 +00:00
martin
211a501951 Backout previous, it breaks lots of tests (tests/lib/librumphijack for
example).
2011-04-21 08:21:13 +00:00
martin
a128c5080b Backout previous, it causes lots of test failures (tests/fs/nfs for
example).
2011-04-21 08:17:00 +00:00
blymn
e0662f42c2 Fix deleting a key definition, it did not work. Also improve tracing
of key definition deletion.
2011-04-21 08:10:49 +00:00
enami
9aed075519 - Put empty line after the local variable definition in the sample code
to improve readability.
- Remove indirection operator to clarify error condition.
2011-04-20 23:37:51 +00:00
christos
57ddf70a57 sync with reality (prototype of open is varyadic) 2011-04-20 19:57:58 +00:00
manu
7a675e4eab In node_lookup() ops, pcn->pcn_nameiop contains a NAMEI_* constant, not
PUFFSLOOKUP_*
2011-04-19 10:35:24 +00:00
drochner
1e1bb256ba according to C99/POSIX, nextafter(x,y) should return y if x==y, from
Henning Petersen per PR lib/44875
2011-04-18 15:59:09 +00:00
christos
4957358ed5 Correct check for snprintf() overflow via Maksymilian Arciemowicz from FreeBSD.
(the bt one was ok, but set errno and make it the same for consistency).
[to be pulled up]
2011-04-17 23:12:38 +00:00
christos
5b8e5cb4eb Fix markup 2011-04-16 23:58:01 +00:00
plunky
5bbcd2919f when placing an attribute/value pair, validate that the value given
is a single data element
2011-04-16 07:19:36 +00:00
jruoho
e77640da5b Merge floor(3) to ceil(3). 2011-04-16 05:48:50 +00:00
jym
e09db11815 Duplicate item detected, destroying duplicate. 2011-04-15 22:57:05 +00:00
elric
98fbe74f8c Upgrade Heimdal to 1.5pre1 by switching the build from crypto/dist/heimdal
to crypto/external/bsd/heimdal.  The latter was just imported as the head
of the Heimdal tree as of a few days ago.
2011-04-15 18:05:42 +00:00
jruoho
ff8dfca355 Xref tm(3). 2011-04-14 05:50:49 +00:00
he
b974c45b30 Move the forward declaration of _sys_readlink() outside of the #if,
so that the build succeeds even if _FORTIFY_SOURCE isn't > 0.
2011-04-13 12:40:54 +00:00
jruoho
b29fd93227 Collect also the division functions to single place, div(3). 2011-04-13 07:12:52 +00:00
jruoho
19606f522d Collect abs(3), labs(3), llabs(3), and imaxabs(3) to a single small page. 2011-04-13 06:56:50 +00:00
jruoho
2ba8acef07 Fix another bug (no 'imaxint_t' type). 2011-04-13 06:41:11 +00:00
jruoho
5bbfa36d7b Fix obvious bug. 2011-04-13 06:35:48 +00:00
jruoho
9d56ec39d7 Split out from ieee(3) also the remainder(3) and copysign(3) families. 2011-04-13 04:57:10 +00:00
christos
e6eca274ad Fix SSP builds (Vladimir Kirillov) 2011-04-12 19:49:48 +00:00
jruoho
e615e396bd Split out FUNCTIONS to make this tolerable to read. Also improve readability
with lists. Describe the functions in the order of appearance in SYNOPSIS.
Use CAVEATS instead of NOTES. Remove "man page spam". Etc.
2011-04-12 13:46:38 +00:00
jruoho
72e27957d4 Xref tm(3). 2011-04-12 08:40:34 +00:00
jruoho
47a900e8bc Move some of the discussion from the messy ctime(3) to tm(3). 2011-04-12 08:39:26 +00:00