mlelstv
86bf846403
one more error path that didn't free a lock.
2011-11-21 09:46:19 +00:00
dholland
c60360c18d
Reshuffle decls among the quota headers so everything is in the place
...
it should be:
- stuff for the proplib interface goes in <quota/quotaprop.h>
- stuff for userlevel only goes in <quota/quota.h>
- stuff shared between user and kernel goes in <sys/quota.h>
Note that <quota/quota.h> and <quota/quotaprop.h> are expected to be
moved or removed later on... one thing at a time.
Update include directives in other files as needed.
2011-11-20 21:43:34 +00:00
tnozaki
1c5f19ca24
add comment about r1.6 -> r1.7 change.
2011-11-20 07:43:52 +00:00
tnozaki
7119b42a87
fix memory leak, pointed by nonaka-san(again^3).
2011-11-19 18:48:39 +00:00
tnozaki
c0a2d6e78c
remove useless free(), pointed by nonaka-san(again^2).
2011-11-19 18:43:40 +00:00
tnozaki
25c06e6322
return EINVAL when module validation failed, pointed by nonaka-san(again).
2011-11-19 18:34:21 +00:00
tnozaki
a750734d28
remove unused variable, pointed by nonaka-san, thanks.
2011-11-19 18:20:13 +00:00
christos
13f82b913b
document MNT_RELATIME
2011-11-18 21:04:21 +00:00
joerg
d7796dcc07
Exploit hidden __cerror
2011-11-18 20:43:01 +00:00
christos
ae5295ee5d
Add coverity annotations about unreachable code (Kamil Dudka)
2011-11-18 20:39:18 +00:00
christos
e83c752c92
Add missing *
2011-11-18 20:38:42 +00:00
christos
36e7768bff
Initialize termbuf (Kamil Dudka)
2011-11-18 20:32:00 +00:00
christos
cfca73c1f8
Initialize res (Kamil Dudka)
2011-11-18 20:30:01 +00:00
christos
082a7c0017
initialize t to protect against empty string (Kamil Dudka)
2011-11-18 20:28:17 +00:00
christos
d24c721eac
check for negative return of ct_visual_char (Kamil Dudka)
2011-11-18 20:25:48 +00:00
christos
e09907eccd
Off by one in allocation could cause buffer overflow (Kamil Dudka)
2011-11-18 20:24:21 +00:00
christos
9bee9dd870
remove unrecheable code (Kamil Dudka)
2011-11-18 20:22:03 +00:00
joerg
4e5324e222
Mark __cerror as hidden and exploit that to simplify assembler.
2011-11-18 20:21:41 +00:00
joerg
4219a5c627
Explicitly mark __cerror as hidden
2011-11-18 20:17:46 +00:00
joerg
10dc456d4b
Hook up TLS support on ARM. Tested by martin@, kernel support from matt@
2011-11-18 16:10:02 +00:00
martin
3440754724
Release dtoa lock before returning, pointed out by enami.
2011-11-18 08:20:13 +00:00
christos
b2707ef3eb
unlock before returning on error, thanks enami.
2011-11-18 04:17:23 +00:00
christos
afa4aab9de
remove clauses 3 and 4
2011-11-18 04:15:41 +00:00
christos
f0c33b337d
PR/45627: Martin Husemann: Plug memory leak
2011-11-18 02:38:17 +00:00
wiz
485ec0dce0
Fix a lint warning noted by njoly.
2011-11-17 23:46:32 +00:00
manu
124660b818
Copy node expiration date before comparing it, otherwise the comparison
...
does not work (no idea why) and cached node is never used.
2011-11-17 02:28:21 +00:00
wiz
a71cec48de
Remove trailing whitespace. Merge two EINVAL entries.
2011-11-16 22:43:27 +00:00
manu
98c38e3ee8
Correctly pass the advlock owner id from kernel to filesystem, instead of
...
using process PID.
Allow the usage of the read filehandle for advlock, in order to support
shared locks on read-only files
2011-11-16 04:52:40 +00:00
christos
872b7bf4a3
easier with an int for now.
2011-11-16 01:45:10 +00:00
christos
749960097c
Since Width() is used only for display purposes we don't want to pass -1 for
...
unprintable characters.
2011-11-15 23:54:14 +00:00
christos
8cc2344a47
mention RLIMIT_RSS is borked.
2011-11-15 22:45:26 +00:00
chs
81742ac3ab
fix crashes caused by using the results of getcontext()
...
after the caller returns.
2011-11-14 01:27:42 +00:00
wiz
180ddec981
Remove trailing dot; slightly improve wording.
2011-11-13 23:49:39 +00:00
christos
da80e3ab34
add manual page
2011-11-13 22:03:34 +00:00
mbalmer
afd38e42d9
Remove an unused constant.
2011-11-13 16:56:15 +00:00
christos
b9c2e08099
make use we don't touch memory past the end of the buffer. Pointed out
...
by tnozaki.
2011-11-13 15:24:04 +00:00
mbalmer
6e210c20d3
Remove software pulsing.
2011-11-13 13:37:24 +00:00
mbalmer
f660603483
Start numbering pions with 0, not 1. Ruined a demo, so it was a bad idea.
2011-11-13 09:46:11 +00:00
wiz
4a47c09250
Fix typo.
2011-11-10 16:44:47 +00:00
manu
ec1aa8a54b
Return EISDIR for read/write to directories. NetBSD directory read should
...
instead return a getent(2) output, but is that really used?
2011-11-10 16:21:09 +00:00
yamt
9c5d9163d1
document pthread_curcpu_np
2011-11-10 14:01:11 +00:00
joerg
e18cbfbf65
G/C -nostdinc usage, --sysroot is provided automatically.
2011-11-10 00:36:54 +00:00
christos
c8e7a7eec2
if we don't have any sets yet, don't try to look in them.
2011-11-08 19:25:45 +00:00
christos
788c275de8
Change the way that we compute the time when we fall in the dst gap: instead
...
of supplying just the high bound and thus losing minutes and seconds, add
the DST offset to the struct tm (since we know we are going to move ahead
since we fell in the gap), and try again.
2011-11-08 18:37:31 +00:00
joerg
bd40a21a42
Add comment about the name overlap with libcrypto for SHA2 and friends
2011-11-08 16:25:25 +00:00
joerg
4ec2670ea3
Check MKPIC and don't hard-code m68k.
2011-11-08 01:52:05 +00:00
christos
0d371217b3
no need to adjust the off, hi is already at the right time.
2011-11-07 19:42:03 +00:00
christos
1a8ee0ce13
handle \x sequences like c does
2011-11-06 03:42:33 +00:00
christos
3f75ab312f
hook in tre
2011-11-05 22:40:01 +00:00
christos
c3f7d80d68
there no errors defined for time.
2011-11-05 18:17:29 +00:00
joerg
0b50389a15
Add __returns_twice for the attribute of the same name. This makes the
...
attribute explicit based on the functions GCC gives it too.
2011-11-05 09:27:06 +00:00
zoltan
5a5d868dc5
Add IPv6 support for NPF.
2011-11-04 01:00:27 +00:00
joerg
5b270365fe
Fix dependencies on generated files.
2011-11-03 07:19:39 +00:00
christos
672226e183
document where tm_zone comes from in the _z calls.
2011-11-02 23:06:08 +00:00
yamt
e2d8d702cb
use the tools version of utilities for other scripts, too
2011-11-02 20:39:41 +00:00
christos
76151da247
use the tools version.
2011-11-02 20:30:00 +00:00
wiz
ab093fdf58
Fix typo.
2011-11-02 20:25:20 +00:00
apb
6a9c6d1ff5
Use double quotes to prevent multiple adjacent spaces from
...
being squashed to a single space on output.
2011-11-02 19:59:40 +00:00
christos
474f83c4ae
Separate the generators out, so that they can be re-used by tools, and
...
don't play games with curdir/objdir.
2011-11-02 17:48:53 +00:00
yamt
9647763d4a
puffs_cc_yield: fix a cc leak. PR/44679
2011-11-02 16:43:04 +00:00
yamt
c5341ce2da
fix a function prototype.
2011-11-02 13:05:43 +00:00
roy
9e5def586b
Now that nbperf can generate the same file using the -p option,
...
there is no longer a need to store these files in CVS.
2011-11-02 12:09:25 +00:00
christos
c1d5350b00
Fix the vax build under gcc-4.5 which now detects that floating constants
...
don't fit or are effectively 0.
2011-11-02 02:34:56 +00:00
christos
82be2a4e22
PR/45517: Henning Petersen: Add restrict keywords in the definition of glob
...
to match the declaration.
2011-10-30 21:53:43 +00:00
wiz
60025aa86f
Use boolean AND instead of bitwise one in _DIAGASSERT.
...
From Henning Petersen in PR 45518.
2011-10-30 21:48:27 +00:00
manu
2bc8acd859
- Fix the confusion between fileno (opaque FUSE reference) and inode
...
numbers. fileno must be used when exchanging FUSE messages.
- Do not use kernel name cache anymore, as it caused modification from
other machines to be invisible.
- Honour name and attribute cache directive from FUSE filesystem
2011-10-30 05:11:37 +00:00
christos
0b7c4e1b46
Everything else uses PIC branches to __cerror except those two...
2011-10-29 16:03:33 +00:00
christos
157b9e4ee9
Sync with other ports: in PIC mode make __cerror hidden; it is not supposed
...
to be used outside libc.
2011-10-29 16:03:03 +00:00
mrg
74c1f8ad71
remove -I- from CPPFLAGS.
2011-10-29 10:28:37 +00:00
christos
b94db0ddf1
Only advance the time if we are skipping the gap.
2011-10-28 21:51:06 +00:00
christos
31b34eee08
prevent underflow from giving us a false positive test in the first iteration.
2011-10-28 13:53:06 +00:00
christos
cf14ae3072
remove second _errno.h
2011-10-27 19:56:50 +00:00
christos
5cb3c90e9a
Add the same ppc64 hack that libposix needs.
2011-10-27 18:45:44 +00:00
christos
229c949ab2
HACK: Include _errno.c here for powerpc64 build. Otherwise __errno does not
...
resolve. Why?
2011-10-27 17:18:09 +00:00
christos
8f5455bf91
document ITIMER_MONOTONIC.
2011-10-27 16:10:37 +00:00
christos
1299a7651f
Change mktime*(3) so that it does not always return EOVERFLOW when it cannot
...
perform the conversion, but returns EINVAL when the time requested would fall
in the DST gap, or is not representable in the timezone requested, and document
this.
2011-10-27 14:47:59 +00:00
plunky
20dc194fcd
remove trailing comma in NAME section
2011-10-25 09:33:55 +00:00
wiz
e02343d9a0
Fix function prototype. From Henning Petersen in PR 45516.
2011-10-25 09:28:17 +00:00
wiz
8d207e698a
Fix typo reported by Henning Petersen in PR 45515.
2011-10-25 09:26:53 +00:00
christos
86343a2b66
make length unsigned.
2011-10-25 00:02:30 +00:00
christos
6a96f344c7
Fixed misplaced parenthesis (Nirbhay Choubey)
2011-10-23 17:37:55 +00:00
manu
aec8bd3191
perfuse memory usage can grow quite large when using a lot of vnodes,
...
and the amount of data memory involved is not easy to forcast. We therefore
raise the limit to the maximum.
Patch from Manuel Bouyer. It helps completing a cvs update on a glusterfs
colume.
2011-10-23 05:01:00 +00:00
christos
66744c9484
Put a recursion limit to avoid DoS attacks (Maksymilian Arciemowicz)
...
While there do minor KNF, and do as the manual says: exit with EXIT_FAILURE
2011-10-22 22:08:47 +00:00
joerg
1669bc8401
sys/endian.h might not exist in the src/tools case
2011-10-21 23:45:56 +00:00
wiz
cf9612053b
Minor improvements.
2011-10-21 12:58:53 +00:00
christos
9e0e05693b
Forgot to commit this.
2011-10-21 12:10:31 +00:00
christos
b51eeccc62
Add proc_compare
2011-10-21 02:05:36 +00:00
christos
c9db7e91c5
Don't use = to assing SRCS, but += so that we can remove snprintb.c,
...
which was added elsewhere.
2011-10-21 01:37:59 +00:00
njoly
a297cfac57
Fix fpsetmask(3) to be able to clear bits previously set.
2011-10-19 15:24:58 +00:00
manu
b4362f9202
mlockall is not necessary after all, once we have fixed a kernel bug involving
...
agedaemon sleeping form memory
2011-10-18 15:47:32 +00:00
christos
22bfd2bd63
Add code (not enabled) that allows mktime() to return a value for times
...
in the DST gap when tm_isdst == -1, like glibc does. Document both behaviors.
2011-10-16 17:59:32 +00:00
mrg
4d071395fc
default O_CLOEXEC to 0 for systems that don't define it, like, say, netbsd-5.
2011-10-16 05:05:38 +00:00
mbalmer
81d02375cb
Fix dependency.
2011-10-16 00:45:54 +00:00
christos
9292cfb210
close on exec fixes:
...
- open + fcntl -> open O_CLOEXEC
- configuration database file descriptors that can stay open are now opened
fopen(db, "re")
2011-10-15 23:00:01 +00:00
christos
2204ab6ba8
use fparseln
2011-10-15 22:57:57 +00:00
rmind
0d8d4f7455
Amend previous: just leave the part that mmap() was designed for 4.2BSD
...
and do not mention 4.4BSD until it becomes clear when exactly the interface
was shipped.
2011-10-15 22:03:03 +00:00
wiz
d3d055e20b
Sort SECTIONS.
2011-10-15 21:43:19 +00:00
rmind
cd963eaff9
Mention that mmap(2) was designed for 4.2BSD, but really appeared in 4.4BSD.
2011-10-15 21:39:35 +00:00
rmind
50902a3b80
Mention POSIX conformance of some functions, when they appeared, sprinkle .Xr.
2011-10-15 21:35:49 +00:00
rmind
f62f91b1f9
- Mention that fmemopen(3) conforms POSIX-2008.
...
- Drop advertising clause in TNF license.
2011-10-15 21:31:27 +00:00
christos
5305df2297
kill open_cloexec()
2011-10-15 21:08:53 +00:00
christos
b7406a928a
report STT_COMMON symbols as data.
2011-10-15 21:06:58 +00:00
mbalmer
d06854f919
Remove, has been moved to share/examples/lua.
2011-10-15 13:02:24 +00:00
mbalmer
9fb73f45a7
Add db:changes()
2011-10-15 12:58:20 +00:00
mbalmer
c1c0ad71d4
Link the sqlite Lua module to the build and add it to the set lists.
2011-10-15 10:46:24 +00:00
mbalmer
78f8cb2089
Remove un-needed headers.
2011-10-15 10:35:06 +00:00
mbalmer
5dbf24395e
A small test/demo program to show the sqlite Lua module usage.
2011-10-15 10:27:06 +00:00
mbalmer
a4de1688e1
A Lua module to access SQLite databases.
2011-10-15 10:26:30 +00:00
joerg
f2ac4d0c2a
Add __format_arg attribute to gettext(3) and friends.
2011-10-14 22:42:01 +00:00
joerg
ac86ba952c
Hook up SQLite into the build
2011-10-13 22:08:16 +00:00
christos
b13e8d0c26
Remove duplicate documentation that is mentioned in stickt(7)
2011-10-12 22:46:36 +00:00
plunky
7602c6b7f6
use WARNS?=4 for all Lua modules
2011-10-11 07:10:15 +00:00
tnozaki
6b58a1b843
revert r1.21, still problem exists for posix2008 mbsnrtowcs(not yet commited),
...
but i have no time to investigate t_mbrtowc failure.
2011-10-10 22:45:45 +00:00
christos
57ad8fd338
Handle sun2
2011-10-10 20:43:00 +00:00
christos
974dae711d
turn on warnings, and fix compilation issues.
2011-10-10 20:41:05 +00:00
christos
627cbe00c4
pass lint on i386
2011-10-09 22:14:17 +00:00
christos
407d8594d2
Prevent regcomp/regexec DoS attacks by limiting the amount of memory used
...
and the level of recursion. Thanks to Maksymilian Arciemowicz for discovery
and help with the implementation.
2011-10-09 18:23:00 +00:00
mbalmer
63bfe64311
Link the gpio(4) Lua module to the build and add it to the set lists.
...
(There is no manual page yet, since we have not yet decided where to put
them for Lua modules.)
2011-10-08 13:14:03 +00:00
mbalmer
66e9bcb443
Add NetBSD CVS marker, remove some whitespace.
2011-10-08 08:46:40 +00:00
mbalmer
d525bcd694
Makefile to build gpio.so.
2011-10-08 08:36:27 +00:00
mbalmer
540bd6bd87
Descent into lua.
2011-10-07 21:33:56 +00:00
mbalmer
320efb436a
Add stub Makefile, not yet called.
2011-10-07 21:23:32 +00:00
mbalmer
159188527b
Interface gpio(4) from Lua. Not linked to the build.
2011-10-07 21:14:19 +00:00
tnozaki
9f0b22ed7d
update string pointer when input is partial escape sequence or multibyte.
2011-10-07 18:59:13 +00:00
christos
adc9c9a3d6
Provide symbol definitions for environ and __progname. These are duplicate
...
definitions to the ones provided by csu, but harmless since the linker resolves
them. There are 3 non weak data symbols provided in crt0.o:
D __progname [initialized data, assigned to ""]
B __ps_strings [BSS since assigned to 0]
C environ [common, uninitialized]
__ps_strings had already a second definition in libc (in BSS), now we added
__progname and __ps_strings (in BSS).
To get rid of the duplicate definition, we can remove them from csu, and
move the assignments to libc.
This is done so that libc has no undefined symbols so that linker maps
that want to do:
...
local:
*;
...
don't end up producing link failures for libc.
2011-10-06 20:31:41 +00:00
christos
9924597a17
Include limits.h to get PTHREAD_KEYS_MAX, and move its definition there.
2011-10-06 16:03:48 +00:00
jruoho
c28242299e
Xref kcpuset(9).
2011-10-06 05:24:41 +00:00
roy
62480e1c72
There is no standard way of getting a list of aliases for the
...
terminal. However, some applications such as telnet want to know this.
ncurses dumps the terminfo header into an undefined variable ttytype
and these applications then parse it to work out the aliases.
We should do the same for now, until a standard mechanism for getting
the information is available or the need for it goes away.
2011-10-05 10:46:08 +00:00
christos
b6f308812d
fixed warnings where wint_t is unsigned.
2011-10-04 15:27:04 +00:00
roy
64afaacce6
Move longname(3) from curses to terminfo, pre-cursor to fix PR/43386.
2011-10-04 11:01:13 +00:00
roy
2f9b6d37f2
Fix tparm.
...
As we now go via tiparm, store nums as int to conserve memory.
2011-10-03 20:13:48 +00:00
roy
91ab69b0df
Remove _ti_freeterm as consumers should just use del_curterm.
2011-10-03 19:18:55 +00:00
roy
7fc83a7d87
Correct args
2011-10-03 19:15:03 +00:00
njoly
e2c203c871
Note functions failure for unknown timer type.
2011-10-03 15:49:02 +00:00
christos
8c9fc8838c
fix broken change (parenthesis in the wrong place). From Nirbhay Choubey
2011-10-03 14:09:38 +00:00
roy
44e794b040
Install correct man page links.
2011-10-03 13:10:58 +00:00
roy
4060cbcd0c
Use tiparm instead of vtparm.
2011-10-03 12:32:15 +00:00
roy
39aae097d0
Correctly use ti_ instead of t_ for our extensions as per the man page.
...
Replace vtparm with tiparm.
tiparm is also non standard, but has been proposed at least.
2011-10-03 12:31:51 +00:00
roy
fd2d10c6b0
Add termname(3) as defined by POSIX.
2011-10-02 19:24:25 +00:00
christos
0f48379f18
put back pthread__dbg variable; this is set to no zero by td_open() when
...
debugging to avoid multiple td_open() mess.
2011-10-02 18:18:56 +00:00
christos
80e86efb1f
constify.
2011-10-02 18:18:14 +00:00
christos
a92b0ce490
don't use %edi!
2011-09-30 23:45:41 +00:00
christos
6dd90d6d37
make rounding work
2011-09-30 23:42:00 +00:00
jym
afca4e3b49
Fix an implementation inconsistency with the prop_*_send_syscall() and
...
prop_*_recv_syscall() functions from proplib(3). They now share the
same logic as the one from prop_*_send_ioctl() functions:
- returns an int
- 0 indicates "no error", otherwise returns the error number (and
set errno)
Many consumers of the prop_*_{ioctl, syscall} expect errno to be set
on error and use err() to display the error message. As such, ensures that
errno gets set before returning from these functions.
prop_*_send_syscall() functions returned a boolean, and now return an int.
Fix all call sites to use the new paradigm (only quota2 is affected in src).
As the prop_*_{send,recv}_syscall() API appeared in -current and is only
used by the recent quota2 code, I am not bumping the lib. The API change
only affects the prop_*_send_syscall() function (recv_syscall()s were
already used correctly), so ensure you are not mixing "old" -current
quota binaries with a new proplib(3) (or the other way around). This
change will be announced via a HEADS-UP and UPDATING.
Does not affect the kernel part of proplib.
Document the correct API in prop_array(3) and prop_dictionary(3).
Thanks to Francois Tigeot for noticing the API inconsistency and
reporting it on tech-kern@.
ok bouyer@.
2011-09-30 22:08:18 +00:00
christos
26ca52544d
PR/44293: Paul Goyette: Fix the mess of the rounding code.
2011-09-30 17:42:34 +00:00
christos
64eddf5284
even simpler.
2011-09-29 22:55:45 +00:00
christos
cfa5bcb221
even shorter
2011-09-29 22:53:13 +00:00
christos
cfb62a8b7a
add a simpler version
2011-09-29 22:46:00 +00:00
christos
38179c4fc2
add a simpler version.
2011-09-29 22:45:20 +00:00
christos
41d70a0317
Instead of using a PICGOT relocation for map, use just a pc-relative one
...
since it is guaranteed to be close enough. Fixes issue with binutils-2.21.1a
(probably a bug).
2011-09-28 15:11:42 +00:00
christos
f02b490980
include <wchar.h> if we don't have wcsdup()
2011-09-28 14:08:04 +00:00
mrg
f5aeae98ef
add libgomp to this list of libs; so compat finds it properly.
2011-09-23 07:12:10 +00:00
christos
4e692bff8b
document what size is.
2011-09-22 18:21:58 +00:00
njoly
a7999336ff
In functions list, switch from tab characters to Ta macro. Makes
...
nroff properly handle xrefs.
2011-09-22 18:14:09 +00:00
joerg
39079c5f77
Explicitly add back __resumecontext wrapper
2011-09-20 08:42:29 +00:00
joerg
0a2b758384
Mark _resumecontext as dead. ANSIfy all declarations for it.
2011-09-19 21:24:57 +00:00
christos
0786f153d9
bump for hcreate_r and friends
2011-09-18 23:57:06 +00:00
njoly
f18fdd46cc
Fix a few xrefs.
2011-09-18 10:58:28 +00:00
jruoho
11f8ac704b
Remove BUGS as per joerg@'s objection.
2011-09-18 05:33:13 +00:00
christos
fb9e5ffdea
remove the advertising clause so it can be used by the OpenJDK.
2011-09-17 16:54:39 +00:00
wiz
51f391f530
Convert to mdoc.
2011-09-17 13:28:51 +00:00
jruoho
20aafc300b
Remove rest of the NOTES and ERRORS and references to pow(3) family.
2011-09-17 10:52:52 +00:00
jruoho
a6e1d3b208
Split out pow(3) from exp(3).
2011-09-17 10:51:52 +00:00
christos
369862dcef
Never invoke utmp_update() recursively if we are root. Instead close the
...
read-only file so it can be opened later. It can happen when a setuid
program utmp_update, seteuid(ruid) -> getutxent() -> seteuid(0) -> pututxent()
2011-09-17 01:52:29 +00:00
christos
cc9ecc5e39
PR/45370: Takehiko NOZAKI: termcap emulation tget{flag,num,str} should
...
work with non-NUL terminated strings.
2011-09-16 18:51:44 +00:00
plunky
2b8aaed8cd
NULL does not need a cast, here
2011-09-16 16:13:16 +00:00
joerg
67f518f496
Use __dead
2011-09-16 16:05:58 +00:00
plunky
60e46d9178
when printing URLs, don't use VIS_HTTPSTYLE as it doesn't
...
really do what I expected.
2011-09-15 17:51:57 +00:00
wiz
72e0f90c3f
Remove trailing whitespace. Bump date for previous.
2011-09-15 12:01:18 +00:00
blymn
d3c541783a
- Make mvderwin work as per the SUSv2 specification and other curses
...
implementations.
2011-09-15 11:58:05 +00:00
wiz
19ea2ccd09
Various fixes, mostly missing words or letters.
2011-09-15 09:14:54 +00:00
christos
05845f985a
add re-entrant versions of the hash functions based on the GNU api.
2011-09-14 23:33:51 +00:00
christos
e375a9464f
more sys/param.h additions
2011-09-14 12:37:55 +00:00
apb
f29014459b
There's no st_block field; it's st_blocks.
2011-09-14 11:49:21 +00:00
njoly
85ae540813
Kill empty Dv macro.
2011-09-14 11:43:29 +00:00
christos
80867328b8
Include <sys/param.h> for MAXPATHLEN
2011-09-13 19:11:09 +00:00
christos
76389f09e9
fix non-portable shift.
2011-09-13 19:10:18 +00:00
wiz
810ed21852
Sort sections.
2011-09-13 08:53:15 +00:00
wiz
267db0c546
Fix Xr.
2011-09-13 08:53:10 +00:00
wiz
45c370fce8
Fix Dt.
2011-09-13 08:51:32 +00:00
njoly
d7d196e168
Add missing El macro.
2011-09-13 07:28:30 +00:00
njoly
fab32cf3a1
Remove xrefs to ieee(3) man page which does not exists anymore.
2011-09-13 07:11:43 +00:00
jruoho
6fd7775f29
Split out the logarithm functions from the perplex exp(3). Also remove some
...
useless notes in the latter (namely, no one cares that financial calculations
were done on Hewlett-Packard HP-71B, or that there is a LN1() in Pascal).
2011-09-13 05:26:47 +00:00
christos
8171e48bf4
doc for kvm_getkernelname
2011-09-12 21:11:53 +00:00
christos
b8c5a24416
add a function to report the name of the file kvm_open{,.files} is using.
2011-09-12 21:11:31 +00:00
wiz
43675611fd
Fix special chars and spacing in previous.
2011-09-12 17:08:22 +00:00
jruoho
82f75e1495
Improve and update. Also note again the lack of tanhl() in NetBSD.
2011-09-12 16:08:42 +00:00
jruoho
bc80f14d3c
Update and improve, and note that the long double variant is not supported.
2011-09-12 14:44:27 +00:00
jruoho
b43f95128d
Note memoryallocators(9) in this perhaps too generally named page.
2011-09-11 10:05:23 +00:00
jruoho
b55748a5cc
It is not just funopen(3) that is a BSDism.
2011-09-11 07:37:06 +00:00
jruoho
74204a5f00
.Xr for fsetpos(3), not .Fn.
2011-09-11 04:55:48 +00:00
tron
aff2bc3b4f
Avoid comparison between signed and unsigned integer expressions by
...
casting the offset to a unsigned type. This fixes the NetBSD/i386
and hopefully the NetBSD/amd64 build.
2011-09-10 10:06:10 +00:00
christos
92ad06d875
make this build on amd64 and remove redundant and unused code.
2011-09-09 22:51:44 +00:00
manu
5a6d3e75bd
Serialize access to file size. We already have such a thing in the
...
kernel, where it fixes race for PUFFS filesystems, but we need it again
in perfused since FUSE filesystems are allowed to reorder requests.
The huge issue is in the asyncrhonous SETATTR sent by fsync. It is
followed by a syncrhnous FSYNC, so if the filesystem does not reorder
requests, once the FSYNC returns, we are confident the SETATTR is done.
But since FUSE can reorder, we need to implement sync in perfused.
2011-09-09 15:45:28 +00:00
manu
f19a344abc
Make sure perfused remains locked in memory, otherwise we can get
...
deadlocks in low memory situations, where ioflush waits for perfused
to fsync vnodes, and perfused waits for memory to be freed.
2011-09-09 15:35:22 +00:00
jmcneill
5fc89c79bc
Add support for AFMT_AC3
2011-09-06 01:19:34 +00:00
wiz
90a7060101
Fix typo.
2011-09-05 18:25:57 +00:00
christos
040ffb7f4c
forgot to change one usage call.
2011-09-04 13:25:22 +00:00
jmcneill
a02f89094f
getlabelusesmbr: initialize 'oldlenp' parameter to sysctlbyname
2011-09-04 12:34:49 +00:00
christos
a61b0b2ed7
bring in the 2011i changes.
2011-09-04 10:10:26 +00:00