Commit Graph

14932 Commits

Author SHA1 Message Date
bouyer a3a7248ce7 Fix bad cut'n'paste in copyright. Pointed out by dyoung@ 2011-06-07 14:56:12 +00:00
drochner a4fc3a054f make sure the infinity returned by HUGE_VALL has the "implicit"
bit set, otherwise it is invalid
This code is unlikely to be hit because gcc (and clang) use
their builtins for these special values.
2011-06-06 17:02:29 +00:00
christos 33c7476cb2 Revert previous and make frach be 0xc0000000 for NAN's generated by strtold()
as suggested by tron.
2011-06-05 14:43:12 +00:00
christos 093aa7c0f7 Make NAN tests consistent with other platforms and FreeBSD. 2011-06-04 15:45:41 +00:00
christos 85d18e0c63 remove string placed by error(1) 2011-06-04 14:18:10 +00:00
wiz d5982f0fd8 Sort errors. 2011-06-03 08:07:48 +00:00
jruoho 7a7aafd699 Note STANDARDS and use more markup. 2011-06-03 05:50:07 +00:00
yamt 63b82de8a6 compatibility note 2011-06-02 01:04:18 +00:00
manu 5255616730 Fix race conditions between write and getattr/setattr, which lead to
inconsitencies between kernel and filesystem idea of file size during
writes with IO_APPEND.

At mine, this resulted in a configure script producing config.status
with ": clr\n" lines stripped (not 100% reproductible, but always this
specific string. That is of little interest except for my own future
reference).

When a write is in progress, getattr/setattr get/set the maximum size
among kernel idea (grown by write) and filesystem idea (not yet grown).
2011-06-01 15:54:10 +00:00
manu 344a543c33 Remove outdated comment about a fixed bug 2011-06-01 07:57:24 +00:00
christos 88b197ec7f PR/38413: Takahiro Kambe: mt(1) print some junk output when using remote tape
Not all fields are valid in the ioctl to get tape info in the rmt protocol.
Zero out the struct so that we don't print junk.
While here, KNF.
2011-05-31 12:24:33 +00:00
christos 98715cd1ec PR/45007: rcmd_af(3) and thusly rsh(1) ignore requested address family
Pass in the address family to rshrcmd and DTRT.
While here KNF.
2011-05-31 06:49:26 +00:00
manu 26381d518d Use SOCK_SEQPACKET in perfuse if available. This fix file operations hangs
where the FUSE filesyste replied to an operation and got an ENOBUFS it did
not handle.

We now are also able to cleanly unmount
2011-05-30 14:50:08 +00:00
joerg 28050549eb Ignore warnings when building with clang for now. 2011-05-30 14:41:26 +00:00
haad 0c1ba949b7 Fix problem where DM_IOCTL_NAME was used in libdm_task_set_uuid except of
DM_IOCTL_UUID. This makes lvremove to work properly.

Thanks To hugo Silva and Toby Karyadi for reporting this issue.
2011-05-30 01:10:57 +00:00
drochner 53cdf0b54e make the "tags" target non-.PHONY because it reflects a real file,
and remove some nonsense in libc Makefile which caused that
a "tags" file was written in my source tree
2011-05-27 17:06:54 +00:00
joerg a216da57a6 Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
christos 178153b0c2 use _ALIGN consistently. 2011-05-25 02:11:16 +00:00
christos bde00486af make this compile with DEBUG (_ALIGN was not defined). 2011-05-24 22:39:47 +00:00
ryo 52e6dde2a6 fix incorrect variable name 2011-05-24 02:31:11 +00:00
joerg 70b0796a0d Ensure that rumpuser_thread_exit doesn't return. 2011-05-23 20:49:08 +00:00
joerg 896c6d5b09 Save space, kill some () 2011-05-23 20:43:02 +00:00
joerg afa03266a7 Remove pointless self-assignment 2011-05-23 15:16:27 +00:00
joerg 998c5d780f Make intermediate size variable size_t like the rest to avoid
unnecessary casting.
2011-05-23 14:53:46 +00:00
joerg 04d16b5c6d Use C99-style init in _CITRUS_PROP_HINT_END to avoid warnings for
uninitialised type field.
2011-05-23 14:52:32 +00:00
joerg 939ab48f97 Actually return something deterministic 2011-05-23 14:45:44 +00:00
joerg 608276435f Remove self-assignment of an argument that is later used. 2011-05-23 14:34:29 +00:00
joerg b53ad3df44 Use a plain float constant, no need to deal with messy 0r prefix 2011-05-22 20:11:47 +00:00
dholland d392ff6e7a Clarify paragraph about calling setprogname, requested by Tobias Ulmer on
freenode. Bump date.
2011-05-21 19:06:44 +00:00
nakayama 88e42b609b Add fenv support for sparc. Mostly copied from sparc64 and share with it. 2011-05-20 21:42:48 +00:00
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