christos
59a755a40f
merge libbind and bump.
2009-04-12 17:07:16 +00:00
christos
c6497e5b5f
libc portion of libbind from external/bsd/libbind
2009-04-12 16:35:44 +00:00
lukem
83f6c8b3a4
fix -Wcast-qual issue
2009-04-12 14:20:19 +00:00
wiz
55a1b57943
Drop trailing whitespace.
2009-04-11 22:17:52 +00:00
christos
497a527565
make this work properly, by moving to the end of the buffer before starting
...
the search.
remove clauses 3 + 4.
2009-04-11 21:42:16 +00:00
joerg
dab0ac3098
Don't use .Xo/.Xc to work around ancient macro argument limit in groff.
2009-04-11 20:53:15 +00:00
joerg
22ce33e2aa
Don't use .Xo/.Xc to avoid ancient macro argument limit.
2009-04-11 20:48:26 +00:00
joerg
59ba3c43a4
-width needs an argument, so provide one.
2009-04-11 20:39:15 +00:00
joerg
9a790c1d7e
Add missing .Re.
2009-04-11 20:14:35 +00:00
joerg
33c9c1889e
Use semantic markup.
2009-04-11 17:26:32 +00:00
joerg
8feb8b89b7
Remove redundant .Pp.
2009-04-11 17:10:57 +00:00
wiz
0f4e9153b3
Use Aq instead of \*[Lt]...\*[Gt].
2009-04-11 16:59:05 +00:00
wiz
73bfbb6953
Improve markup.
2009-04-11 16:58:21 +00:00
wiz
25b7d5a452
New sentence, new line.
...
This page could use more markup.
2009-04-11 16:55:04 +00:00
wiz
7d9f3abb75
Avoid duplicate .Pp.
2009-04-11 16:51:39 +00:00
wiz
c32974546d
Remove trailing whitespace.
2009-04-11 16:51:28 +00:00
wiz
332088ae2e
New sentence, new line.
2009-04-11 16:48:53 +00:00
joerg
6a85fc7cdf
Use .Bl -ohang instead of physical markup.
2009-04-11 16:44:01 +00:00
joerg
868fe66e65
Add missing quotes.
2009-04-11 16:29:09 +00:00
joerg
71c479831e
Fix markup.
2009-04-11 16:13:49 +00:00
joerg
3d2415a28f
Fix markup.
2009-04-11 16:03:29 +00:00
joerg
aa21536cc0
Remove .IP, it doesn't change output.
2009-04-11 15:55:28 +00:00
joerg
d749557c31
Fix markup.
2009-04-11 15:51:44 +00:00
joerg
0cc93fa086
Use semantic markup.
2009-04-11 15:44:42 +00:00
joerg
e112b60607
Fix markup.
2009-04-11 15:37:12 +00:00
joerg
326820b20c
Fix missing quote.
2009-04-11 15:36:22 +00:00
joerg
d3c6cf0458
.\" are comments, not ./"
2009-04-11 15:35:15 +00:00
joerg
746b955e9e
Fix markup.
2009-04-11 15:33:27 +00:00
joerg
592c0f8761
Remove reundant quote.
2009-04-11 15:32:03 +00:00
joerg
79c74bd3c8
Fix markup.
2009-04-11 15:30:49 +00:00
joerg
c4d2456ed9
Improve markup.
2009-04-11 15:29:50 +00:00
wiz
24e269dafa
Split Nm over two lines.
2009-04-10 23:24:35 +00:00
christos
5207347451
Add a special lint stub for __sigaction14 which broke when we switched
...
to sigaction_sigtramp.
2009-04-10 23:14:58 +00:00
christos
d4bf2b400d
take the opportunity of the glob_pattern_p and add memrchr.
2009-04-10 23:14:07 +00:00
christos
3cf907e2b2
add memrchr
2009-04-10 23:13:38 +00:00
ad
4caa909fff
softdep is gone
2009-04-10 22:26:10 +00:00
joerg
65a94a80fd
Fix markup
2009-04-09 00:06:44 +00:00
joerg
58ad7418e8
No .br after .Sh.
2009-04-09 00:04:34 +00:00
christos
46db7d011d
Fix off by one error reported by: Caleb Welton cwelton at greenplum dot com
2009-04-08 21:31:31 +00:00
wiz
68bd1a898e
Link glob(3) to glob_pattern_p(3).
2009-04-08 19:28:48 +00:00
wiz
c2c2c34d00
Add glob_pattern_p to NAME section.
2009-04-08 19:27:39 +00:00
christos
1ef020be5f
add glob_pattern_p for glibc because cvs needs it and it is a huge mess
...
to compile in the gnu glob code.
2009-04-08 16:28:50 +00:00
pooka
9b83cef174
dump readdir offset
2009-04-06 20:47:17 +00:00
pooka
afc5bcc1fa
* dump op-specific return info before the generic one
...
* dump readdir response values
2009-04-06 14:45:11 +00:00
pooka
74e11245a1
MNT_SOFTDEP -> MNT_LOG in example. pointed out by mrg.
2009-04-06 12:03:50 +00:00
pooka
efd7bfa323
release root vnode at unmount
2009-04-06 03:27:39 +00:00
christos
3b75967235
make fileio.h work with objdir.
2009-04-06 00:48:19 +00:00
christos
b10afc8344
regen
2009-04-06 00:48:04 +00:00
christos
3b4cda0de7
PR/41138: Henning Petersen: Redundant declarations in rpc_internal.h
...
While here remove __P, KNF.
2009-04-04 15:31:08 +00:00
pooka
c69ace3c05
ARGSUSED makes lindt a happy camper
2009-04-02 09:30:41 +00:00
cube
7ad46619fb
Make keypad return an int instead of nothing, as the SUS and even
...
curses_input(3) [!] say it should.
OK'd jdc@. ABI lawyers say this doesn't need major bump.
2009-04-01 20:59:15 +00:00
drochner
f1c955a1b2
Fix the comparision function used by the red-black tree global thread list
...
implementation:
-don't return a difference, this can overflow
-don't try to substract typed pointers which don't belong to the
same object, this gives undefined results
This fixes instabilities of programs which use more than a handful
of threads, eg spuriously failing pthread_join().
2009-04-01 10:13:24 +00:00
wiz
3a9e7e68ee
Readability improvement. Whitespace nits.
2009-04-01 08:58:47 +00:00
christos
097860c04e
cast to size_t to avoid sign / unsigned comparison warning.
2009-03-31 21:33:17 +00:00
christos
e6ec3d065c
implement RL_PROMPT_{START,END}_IGNORE
2009-03-31 17:53:03 +00:00
christos
c8754a5b44
Implement literal prompt sequences. Now someone can implement
...
RL_PROMPT_START_LITERAL/RL_PROMPT_END_LITERAL :-)
2009-03-31 17:38:27 +00:00
ad
7de9da978b
Revert the _lwp_ctl which is causing problem. I did test this locally,
...
I guess not well enough.
2009-03-30 21:32:51 +00:00
ad
5c670ea686
- Make the threadreg code use _lwp_setprivate() instead of MD hooks.
...
XXX This must not be enabled by default because the LWP private mechanism
is reserved for TLS. It is provided only as a test/demo.
XXX Since ucontext_t does not contain the thread private variable, for a
short time after threads are created their thread specific data is unset.
If a signal arrives during that time we are screwed.
- No longer need pthread__osrev.
- Rearrange _lwp_ctl() calls slightly.
2009-03-29 09:30:05 +00:00
mrg
fcc023545e
- add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total
...
address space available to processes. this limit exists in most other
modern unix variants, and like most of them, our defaults are unlimited.
remove the old mmap / rlimit.datasize hack.
- adds the VMCMD_STACK flag to all the stack-creation vmcmd callers.
it is currently unused, but was added a few years ago.
- add a pair of new process size values to kinfo_proc2{}. one is the
total size of the process memory map, and the other is the total size
adjusted for unused stack space (since most processes have a lot of
this...)
- patch sh, and csh to notice RLIMIT_AS. (in some cases, the alias
RLIMIT_VMEM was already present and used if availble.)
- patch ps, top and systat to notice the new k_vm_vsize member of
kinfo_proc2{}.
- update irix, svr4, svr4_32, linux and osf1 emulations to support
this information. (freebsd could be done, but that it's best left
as part of the full-update of compat/freebsd.)
this addresses PR 7897. it also gives correct memory usage values,
which have never been entirely correct (since mmap), and have been
very incorrect since jemalloc() was enabled.
tested on i386 and sparc64, build tested on several other platforms.
thanks to many folks for feedback and testing but most espcially
chuq and yamt for critical suggestions that lead to this patch not
having a special ugliness i wasn't happy with anyway :-)
2009-03-29 01:02:48 +00:00
drochner
c4bdad9349
fix typo in sigevent defaults
2009-03-26 16:55:37 +00:00
pooka
c67ff2932c
Don't abort() if the kernel complains we supplied an invalid type
...
for lookup, as this most likely means that the fs has some bad file
on it. Rather, just flag an error to the user and be happy.
2009-03-26 14:03:30 +00:00
uebayasi
df37ad1752
Correct the order of arguments in EXAMPLE. Bump date.
2009-03-26 05:00:10 +00:00
wiz
01959862b8
Sort SEE ALSO.
2009-03-25 06:46:21 +00:00
dholland
ecb714dc77
Update the note about sync returning before buffers are written: it is a
...
piece of historical behavior, not a current bug. Also, while here, add a
bit about disk write-back caches and point to dkctl/scsictl.
Bump date. (first time since 1993!)
2009-03-25 05:32:52 +00:00
drochner
a75975a121
minor fix in description of an error condition
2009-03-24 22:34:54 +00:00
joerg
4b3b61f0a1
Remove/convert physical markup.
2009-03-23 14:11:27 +00:00
joerg
cc420b6c04
ANSIfy. Remove conditionals around __RCSID.
2009-03-20 14:05:54 +00:00
joerg
cc5989d71d
ANSIfy. Remove conditional macros around __RCSID.
2009-03-20 13:56:57 +00:00
joerg
c2d267f257
Remove redundant markup as .Bl does vertical spacing already.
2009-03-15 09:31:07 +00:00
joerg
fd0a2075ae
Fix markup.
2009-03-15 09:26:07 +00:00
joerg
854ee47087
Declare all columns.
2009-03-15 08:05:22 +00:00
joerg
af1b54d7d6
Fix markup of cross reference.
2009-03-15 08:04:12 +00:00
joerg
6edb9354b8
".The" is not a valid macro, fix up.
2009-03-15 08:02:02 +00:00
wiz
5c82067abe
Remove USETBL, now that man page does not need tbl any longer.
2009-03-12 13:52:47 +00:00
joerg
9df66b68e0
Explicitly mark : as literal, use Pq.
2009-03-12 12:51:29 +00:00
joerg
441cf5a9bb
Replace physical markup with .Bl -column.
2009-03-12 12:50:31 +00:00
joerg
5d4d55d864
Remove redundant physical markup. Don't workaround ancient macro argment
...
limit with .Xo/.Xc.
2009-03-12 12:47:49 +00:00
joerg
8c2253d6e8
Use .Bl -column instead of tbl(1) for the device mapping list.
...
OK jmcneill@
2009-03-12 12:33:46 +00:00
wiz
62fcccac72
Fix error in previous, found by joerg.
2009-03-12 10:18:37 +00:00
wiz
9f5b355274
Use comments instead of .ig (requested by joerg).
...
Sort errors while here.
2009-03-12 10:16:37 +00:00
wiz
cf26bd22fc
Do not mark up punctuation.
2009-03-11 16:26:35 +00:00
joerg
d23280d626
Fix markup
2009-03-11 13:36:55 +00:00
joerg
0e5f0af7e9
Fix preamble
2009-03-11 13:35:21 +00:00
joerg
ec28f83cbc
Give the full prototype for all ctype functions/macros.
...
Remove redundant .br.
2009-03-11 12:57:03 +00:00
joerg
86a5a95669
Remove redundant .br.
2009-03-10 23:49:07 +00:00
joerg
edc0d6c151
Fix prologue.
2009-03-10 23:37:01 +00:00
joerg
fa91a1ac51
Use .An for author list.
2009-03-10 23:36:10 +00:00
joerg
a7d7c3857f
Remove redundant .IP. Remove use of .Xo/Xc to workaround ancient macro
...
argument limit.
2009-03-10 23:25:32 +00:00
joerg
bfe775a869
Remove redundant .Pp
2009-03-10 23:14:40 +00:00
wiz
097d2fd1a6
-1 is not a defined value, it is just a value.
...
On the other hand, minuses need backslashes, otherwise they become hyphens.
2009-03-10 22:55:14 +00:00
joerg
e85762f4cf
Specify width for tag list
2009-03-10 21:00:47 +00:00
joerg
ed0b365527
Use .An for the author instead of more physical .Bl.
2009-03-10 20:59:49 +00:00
christos
ae87843e53
make el_gets set the count to -1 on error to distinguish between EOF and
...
error.
2009-03-10 20:46:15 +00:00
joerg
bea55cbff7
Fix markup.
2009-03-10 13:23:39 +00:00
joerg
51fed7bd6c
Add missing .Os.
2009-03-10 13:21:52 +00:00
joerg
9d4bdfc640
Use MAP_FAILED and NULL.
2009-03-10 13:15:40 +00:00
joerg
997634fe14
Fix preamble to match order set out by mdoc(7). Discussed with wiz.
2009-03-09 19:24:26 +00:00
tnozaki
c7281b0c86
fix static linking setlocale(3) problem, reported by Aran Clauson
...
at current-users, thanks a lot!
2009-03-09 02:22:25 +00:00
christos
ea6a01a6c4
consistency in password prompt setting code (and with ssh)
2009-03-08 19:38:03 +00:00
he
5da54c35c9
Based on input from Eduardo Horvath (eeh@), replace 'stmd' and 'lmd',
...
which apparently don't exist as instructions, with a sequence of
std / ld instructions.
Also remove the attempted include of ldstm.S which we don't have.
2009-03-08 18:57:12 +00:00
apb
6aae635b8d
According to Alexander Bluhm in tech-toolchain on 31 Jan 2009, the way
...
these files use __weak_alias causes build failures under OpenBSD,
because the OpenBSD __weak_alias macro expects the caller to supply a
semicolon, but the NetBSD __weak_alias macro supplies its own semicolon.
Attempt to fix this by avoiding the use of __weak_alias during a tools
build.
2009-03-06 18:15:23 +00:00
msaitoh
16ed711ed3
fix typo (s/stucture/structure/)
2009-03-05 01:21:57 +00:00
explorer
c29ff9b310
a better method to truncate at // marks
2009-03-03 16:22:33 +00:00
explorer
31c448a301
Check for NULL return from strdup()
2009-03-03 15:42:43 +00:00
explorer
7c353a46b6
Ignore the magic // commands in iconv_open(). This was discussed on current-users about a month ago, and ignoring the options was the best suggestion.
2009-03-03 14:39:06 +00:00
wiz
5d5e9aca03
Bump date for previous.
2009-03-03 07:37:48 +00:00
bad
adb98feec9
Only add the ZZ capability for termcap entries that are larger than 1023
...
bytes.
This fixes the problem that enabling the titeInhibit Xresource of xterm has
no effect, because xterm exports a TERMCAP string without ti/te sequences
but doesn't remove the ZZ capability because it doesn't know about it and
termcap(3) ignores the stringe because of the ZZ.
Discussed with and OK'ed by blymn@.
2009-03-02 22:46:21 +00:00
christos
c9216fc526
no more weak here.
2009-03-01 19:59:55 +00:00
pgoyette
e3eb5958e0
Avoid possible integer overflow and subsequent collateral damage.
...
Received from OpenBSD via US-CERT as VU #590371 .
Original OpenBSD commit log:
> revision 1.42
> date: 2009/02/11 13:24:05; author: otto; state: Exp; lines: +9 -1
> Avoid level going negative on deep (i mean really deep) dirs. Reported
> by Maksymilian Arciemowicz. ok kettenis@ millert@
2009-02-28 14:34:18 +00:00
wiz
4760c8b288
New sentence, new line. Use more markup.
2009-02-27 16:48:02 +00:00
pooka
cd39a9d18a
Remove mentions of MAP_COPY, it's not available and trying to use it
...
will result in compile failure.
2009-02-27 16:23:54 +00:00
msaitoh
150e7551ec
fix mis-evaluating whether a char is digit or not.
2009-02-27 04:18:45 +00:00
ad
07a1846337
Remove pointless AUTHORS sections. The names are in the source and CVS
...
history along with everyone else who has contributed.
2009-02-25 20:50:16 +00:00
christos
2c266c8a4c
version alphasort.
2009-02-24 18:41:40 +00:00
wiz
047cc3e3f6
Sort sections.
2009-02-23 08:27:13 +00:00
ad
59fcf21389
PR kern/26878 FFSv2 + softdep = livelock (no free ram)
...
PR kern/16942 panic with softdep and quotas
PR kern/19565 panic: softdep_write_inodeblock: indirect pointer #1 mismatch
PR kern/26274 softdep panic: allocdirect_merge: ...
PR kern/26374 Long delay before non-root users can write to softdep partitions
PR kern/28621 1.6.x "vp != NULL" panic in ffs_softdep.c:4653 while unmounting a softdep (+quota) filesystem
PR kern/29513 FFS+Softdep panic with unfsck-able file-corruption
PR kern/31544 The ffs softdep code appears to fail to write dirty bits to disk
PR kern/31981 stopping scsi disk can cause panic (softdep)
PR kern/32116 kernel panic in softdep (assertion failure)
PR kern/32532 softdep_trackbufs deadlock
PR kern/37191 softdep: locking against myself
PR kern/40474 Kernel panic after remounting raid root with softdep
Retire softdep, pass 2. As discussed and later formally announced on the
mailing lists.
2009-02-22 20:28:05 +00:00
christos
4534498c64
Get the ESCDELAY from the environment.
2009-02-22 20:05:48 +00:00
christos
58e089a802
Document curses environment variables.
2009-02-22 20:04:21 +00:00
dholland
45e10be5f4
Add __warn_references to getdirentries(), per PR 37730. Okayed by Christos
...
a while back.
2009-02-22 06:33:38 +00:00
martin
c79c3eed1d
Make NAN a compile time constant (with help from the compiler). Suggested
...
by krister. Fixes PR 40695.
Make references to the old construct (which we can't remove for binary
compatibility reasons) emit a linker warning.
2009-02-22 01:34:01 +00:00
christos
07e886c39c
remove VEOF test. the tty is in cooked mode when we are not editing and
...
the tty driver does the check for us.
2009-02-21 23:35:10 +00:00
christos
954af9bb67
more size_t stuff.
2009-02-21 23:31:56 +00:00
christos
41907725b6
use the VEOF character from the terminal, instead of hard-coding 4.
2009-02-21 23:31:29 +00:00
christos
eb7fe43718
fix sign comparison warning in debug build.
2009-02-21 17:20:01 +00:00
wiz
6c890a7983
Restore markup changes (probably accidentally) reverted in previous.
2009-02-21 07:58:58 +00:00
christos
c51877c3f4
back out all prompt changes. they are not needed.
2009-02-21 00:05:23 +00:00
christos
47b68f7fe6
remove pointless static.
2009-02-20 16:44:06 +00:00
pooka
229bf1afc9
Remove the paragraph saying interfaces will change without warning.
...
Note that a stable version of puffs first appeared in NetBSD 5.0.
2009-02-20 14:26:56 +00:00
roy
dbf72b0e6a
printf("%zi\n", (ssize_t)-1); now correcly prints -1 on i386
...
ok: christos
2009-02-20 09:23:37 +00:00
cube
0931c75c7a
Order of evaluation of arguments is undefined, so call va_arg() in an
...
explicit order. Fixes a segfault with bc reported by Patrick Welche on
current-users.
2009-02-19 20:27:11 +00:00
christos
e8bbf84cd0
reset and redraw on sigcont. From Anon Ymous.
2009-02-19 15:20:22 +00:00
wiz
dfe59495b1
Fix wordo, use more markup.
2009-02-19 09:48:08 +00:00
christos
f072c3f1a4
bump version for prompt arg.
2009-02-19 01:18:24 +00:00
christos
963ecab70c
document extra argument.
2009-02-19 01:18:02 +00:00
christos
ad57574aad
strip .ident, if MKSTRIPIDENT. From Adam Ciarci
2009-02-18 15:21:52 +00:00
christos
ec70918ed3
SA_RESTART for all signals but SIGINT. From Anon Ymous.
2009-02-18 15:04:40 +00:00
yamt
ebdb9fb038
cache_cmp: fix comparison.
2009-02-18 13:08:22 +00:00
christos
62dbbc55bc
allow for a prompt argument.
2009-02-17 21:34:26 +00:00
njoly
73766a83b8
Fix mdoc warning (missing .El directive). While here, use a single
...
list for multiple items.
2009-02-17 18:51:56 +00:00
lukem
d52f6f4b6b
fix -Wsign-compare issue (seen on arm), using similar technique
...
to ../bits64/softfloat-macros
2009-02-17 02:43:39 +00:00
christos
492ab0239b
changes for openssh-5.1
2009-02-16 20:55:45 +00:00
lukem
be48221f4f
A variation on the sign-compare fix for these.
2009-02-16 10:40:45 +00:00
tron
ae34e73bcb
Fix -Wsign-compare issue (on NetBSD/sparc64).
2009-02-16 10:34:15 +00:00
tron
ea68052342
fix -Wsign-compare issue (on sparc64)
2009-02-16 10:23:35 +00:00
lukem
e95441b0ce
fix -Wsign-compare issue (on alpha)
2009-02-16 05:22:00 +00:00
lukem
b85aa1ea53
fix -Wsign-compare issue
2009-02-16 03:23:29 +00:00
lukem
d66cb3da2c
fix -Wsign-compare issue (on macppc)
2009-02-16 01:19:34 +00:00
christos
7939d24e16
fix sign compare issues.
2009-02-16 00:15:45 +00:00
christos
5c894153a3
pass lint on _LP64.
2009-02-15 21:55:23 +00:00
christos
d25b6758ed
in order for read() to return EINTR we need to use sigaction, not signal,
...
otherwise SA_RESTART is set.
2009-02-15 21:25:01 +00:00
christos
6ed9cd5e69
don't restart on EINTR, instead return NULL immediately. From Anon Ymous
2009-02-15 21:24:13 +00:00
abs
515e52158b
Convert more MACHINE tests to MACHINE_ARCH
2009-02-14 13:50:50 +00:00
lukem
c8c03b97dd
fix -Wsign-compare issues (untested)
2009-02-14 06:26:42 +00:00
lukem
79362ba3ea
avoid lint's whining on i386
2009-02-13 04:01:46 +00:00
uebayasi
30399256d4
Enable assertions only when _DIAGNOSTICS is defined, as other libc parts do.
2009-02-12 16:24:59 +00:00
sketch
fc16547f5e
More fixes for existing portability stuff.
2009-02-12 13:39:49 +00:00
lukem
e77a187288
Back to WARNS=3 until the kernel source is -Wsign-compare friendly.
2009-02-12 13:20:17 +00:00
lukem
c7201a0f39
fix -Wsign-compare issues
2009-02-12 06:35:54 +00:00
lukem
eb0de3bfe5
fix sign-compare issues
2009-02-12 06:33:13 +00:00
lukem
64d3d6de80
sign-compare fixes
2009-02-12 05:06:54 +00:00
lukem
4359ce3c5f
sign-compare fix
2009-02-12 05:03:47 +00:00
lukem
71d48e7c9e
sign-compare fixes
2009-02-12 04:57:46 +00:00
lukem
2770a3ae8f
sign-compare fixes
2009-02-12 04:40:40 +00:00
lukem
2d59e2af1e
sign-compare fix
2009-02-12 04:38:52 +00:00
lukem
102c672a15
sign-compare fixes
2009-02-12 04:32:05 +00:00
lukem
deeb06e363
sign-compare fixes
2009-02-12 04:13:08 +00:00
lukem
8483a30314
sign-compare fix
2009-02-12 04:10:52 +00:00
lukem
9d1671f467
Fix sign-compare issues
2009-02-12 03:34:33 +00:00
lukem
19b046886f
fix sign-compare issue
2009-02-12 03:12:36 +00:00
lukem
2360d0845a
Apply some of FreeBSD libc/stdlib/malloc.c rev 1.162
...
to fix sign-compare issues.
2009-02-12 03:11:01 +00:00
lukem
cfd7bc0451
Fix sign-compare issues.
...
Ensure provided uio_resid >= 0; negative sizes have "interesting"
semantics elsewhere in stdio, so it's better to avoid them.
2009-02-11 23:48:17 +00:00
christos
17413e263b
custom password prompt that displays the user.
2009-02-11 18:38:56 +00:00
pooka
d5aab2d6c4
Do not flock() block devices. The kernel recently started to guard
...
against opening a block device twice and flock requires that we
keep the device open. Hence, the same mount would attempt to open
for locking and then VOP_OPEN for kernel access and run into
problems. This makes it possible to rump_foofs block devices again,
i.e. take the same command line arguments as regular mounts.
Noticed by apb.
2009-02-11 14:35:58 +00:00
christos
028f3ea750
fix typo * -> & from enami.
2009-02-11 13:52:28 +00:00
christos
ed71b85e85
remove debugging. pointed by enami
2009-02-11 13:51:59 +00:00
lukem
da77f10ac5
sign-compare fix
2009-02-11 05:25:17 +00:00
christos
bb0dd61478
Add RFC 2045 MIME Quoted-Printable support.
2009-02-10 23:06:31 +00:00
pooka
0b0244d13f
document P2K_DEBUG and P2K_NODETACH
2009-02-10 14:40:30 +00:00
pooka
53b8d59800
If P2K_NODETACH is set in the env, do not .. well .. detach.
2009-02-10 14:36:19 +00:00
tnozaki
5f8a9fb1ee
fix typo, don't overwrite LC_TIME's t_fmt_ampm by t_fmt.
2009-02-09 14:39:48 +00:00
jdc
145a912cc9
Fix bug where a single ESC was not recognised when in keypad() mode.
...
Noticed by abs@.
2009-02-09 12:45:59 +00:00
lukem
53e9163a95
sign-compare fix
2009-02-07 07:25:22 +00:00
lukem
f0772e2d1f
sign-compare fix
2009-02-06 23:47:44 +00:00
sketch
2157800b5b
SUNOS is spelt __SunOS. Add missing prototypes.
2009-02-06 20:08:13 +00:00
sketch
957effbd58
Needs errno.h
2009-02-06 19:53:23 +00:00
sketch
fe96b18c3f
Plug memory leak, from MySQL.
2009-02-06 14:40:32 +00:00
sketch
5e72d51013
Portability fix.
2009-02-06 13:14:37 +00:00
sketch
fe3391bda5
de-__P()
2009-02-06 12:45:25 +00:00
lukem
6f550c4d36
sign-compare fix
2009-02-05 23:52:55 +00:00
lukem
fc2df2f1c0
sign-compare fix
2009-02-05 23:22:39 +00:00
christos
1dc5f9b89b
match documentation in el_push
2009-02-05 19:15:44 +00:00
christos
d052ee7b7f
add rl_set_prompt
2009-02-05 19:15:26 +00:00
lukem
8bbffe062a
sign-compare fix
2009-02-05 13:21:11 +00:00
lukem
38d40fc9f8
sign-compare fix
2009-02-05 05:39:38 +00:00
lukem
5e1ba2f2e6
sign-compare fix
2009-02-05 03:22:37 +00:00
jmcneill
1c31e53c25
Bump date for previous.
2009-02-03 12:48:00 +00:00
jmcneill
5cc75830ea
Add a table that describes the mappings from native audio mixer names
...
to their OSS equivalents.
2009-02-03 12:46:13 +00:00
lukem
14fddbd703
fix sign-compare issue
2009-02-03 05:21:24 +00:00
lukem
a99197aa1c
sign-compare fix
2009-02-03 04:58:38 +00:00
lukem
bc395719cc
sign-compare fix
2009-01-31 06:08:28 +00:00
lukem
e1e343f9f7
sign-compare fix
2009-01-31 00:08:05 +00:00
wiz
b85179b9a1
Remove empty trailing line.
2009-01-30 23:52:28 +00:00
lukem
957ba389e8
sign-compare fix
2009-01-30 23:46:03 +00:00
lukem
8a09e86085
sign-compare fix
2009-01-30 23:35:35 +00:00
ad
397f5192b2
Update for SUSv2 compliance.
2009-01-30 23:26:54 +00:00
ad
c984f259af
Make threaded programs die correctly:
...
kill(getpid(), SIGFOO) -> raise(SIGFOO)
2009-01-30 23:21:02 +00:00
mhitch
86223c379c
The explicit integer bit is "don't care" for infinity, and now that it's
...
included in ext_frach, it needs to be masked off when testing for an
infinity value. Fixes the ieeefp/infinity regression test on the 68060
which clears the explicity integer bit when loading an infinity value.
2009-01-30 07:00:45 +00:00
rmind
97267cc4e2
Change raise(3) to be thread-aware - send the signal to current LWP.
...
From <ad> via PR/40341.
2009-01-29 23:52:21 +00:00
ad
a46df1f1f2
pthread_barrier: Fix numerous stupid bugs. Surprising that nobody
...
complained yet.
2009-01-29 21:19:35 +00:00
enami
4e5aed7e08
Put back rev. 1.20 so that nbpwd_mkdb built on 32bit time_t host generates
...
correct pwd.db.
2009-01-29 10:41:39 +00:00
wiz
cc2e7350a1
Bump date for new STANDARDS section.
2009-01-29 10:15:39 +00:00
martin
9e8a2fc070
__posix_fadvise50() does not use the standard errno behaviour, but returns
...
the error value itself - so move it from ASM to NOERR. Pointed out by
Nick. I have no idea how/if this ever could have worked, but I would swear
I realy tested it when I last touched it! Fixes the sys/fs/posix_fadvise
regression test.
2009-01-29 08:47:43 +00:00
lukem
79becf98cb
sign-compare fixes
2009-01-29 02:02:36 +00:00
rmind
2017b2a396
Small fix, "processes" mistaken with "processors".
2009-01-29 00:54:54 +00:00
dyoung
d4e20cf95c
Try to clarify what pset(3) actually does. This needs some more
...
work.
2009-01-28 23:44:45 +00:00
gdt
04532cd1e6
Note that strdup is specified by POSIX.1.
2009-01-28 19:12:40 +00:00
wiz
ce889b3001
Bump date for previous. Sort ERRORS.
2009-01-28 08:57:02 +00:00
mrg
798e718222
fix a very old resolver bug:
...
when looping over the current list of sockets we're connected to,
use getpeername() not getsockname() to find out who the remote
end is. avoid spurious close()s and (rare) failure.
apparently known as ISC bug #18625 , and fixed in libbind 6.0
2009-01-27 05:13:23 +00:00
apb
69a442fa50
Define HAVE_STRUCT_DIRENT_D_NAMLEN in config,h, and test it when
...
deciding whether to use entry->d_namlen or strlen(entry->d_name).
Addresses PR 40477 by Robert Millan.
2009-01-26 17:32:41 +00:00
christos
b9525db03f
PR/40480: George Abdelmalik: Don't redefine _FORTIFY_SOURCE if it is already
...
defined.
2009-01-26 15:09:56 +00:00
drochner
92b9f070f2
remove stale getdevmajor() declarations, fixes lint(1) warning
...
reported by Bernd Ernesti
2009-01-26 15:05:56 +00:00
njoly
122f627e90
Make msgsnd(2)/msgrcv(2) fail with EINVAL for messages larger than
...
SSIZE_MAX. Adjust man pages accordingly.
ok by christos.
2009-01-26 13:08:48 +00:00
mrg
d1ab7d6b0d
put back the atf libraries in here, but find them in external.
...
fixes compat builds.
XXX: src/Makefile do-compat-external-lib not be necessary now.
2009-01-26 06:27:33 +00:00
lukem
ee7c6ab326
sign-compare fixes
2009-01-26 04:01:14 +00:00
lukem
db4cbbf2f6
sign-compare fix
2009-01-26 04:00:40 +00:00
skrll
14c5fc5d63
Sprinkle the "memory" clobber register so the fpsr manipulation actually
...
happens.
Fixes the ieeefp/except regresion test.
2009-01-25 16:44:41 +00:00
wiz
0aec71a9f5
Fix typo.
2009-01-24 13:00:03 +00:00
pooka
d9c038d4fe
Adjust for explicit errno parameter removal from rump syscalls
2009-01-23 19:36:01 +00:00
pooka
0d2e9d5345
Add #ifdef to disable pthread linkage requirement at compile-time.
2009-01-23 15:06:48 +00:00
tls
8d33a6da32
Cause getaddrinfo() without socktype specification to work correctly for
...
numeric addresses. The documentation appears to say this works, and some
other systems support it -- more importantly, why should it _not_ work? If
it does not, getaddrinfo() cannot be used as a general-purpose textual to
binary address conversion utility function; yet it is the only such function
we have in the system, since inet_pton() requires a priori knowledge of the
address family.
This change also causes getaddrinfo() with NULL hint (expressly documented
as working) to work properly for numeric addresses.
2009-01-23 00:48:57 +00:00
drochner
ad965be01b
cleanup after devmajor_t:
...
-since getdevmajor(3) is now binary compatible again with <=5.0
there is no need to rename, I've just left a __getdevmajor50 symbol
temporarily for those who track -current
-update manpage
2009-01-20 20:08:12 +00:00
drochner
d767912be3
Change major()/minor() to return 32-bit types again, called
...
devmajor_t/devminor_t, as proposed on tech-kern.
This avoids 64-bit arithmetics and 64-bit printf formats in parts
of the kernel where it is not really useful, and helps clarity.
2009-01-20 18:20:47 +00:00
agc
36f066e9f7
Use the new external framework for third party source.
2009-01-20 07:18:53 +00:00
rmind
909e7f4259
- Make thread-affinity and processor-set interfaces mutually exlusive.
...
- pset_assign: when CPU is assigned, migrate out all LWPs from it.
2009-01-20 01:57:35 +00:00
lukem
6bb2880ee0
fix -Wsign-compare issue
2009-01-19 09:56:06 +00:00
jmmv
d1a11f39cd
Fix build by making split return a size_t:
...
src/lib/libradius/radlib.c(1053): warning: conversion from 'unsigned long'
to 'int' may lose accuracy [132]
2009-01-19 09:43:11 +00:00
lukem
b5c21fe2ab
fix -Wsign-compare issues
2009-01-19 07:21:59 +00:00
jmmv
0cdcf7cea6
Remove ATF 0.5 from dist/atf and all of the reachover Makefiles used to
...
build it. 0.6 is going to be imported in external/bsd/atf, with all the
necessary Makefiles in that same hierarchy.
2009-01-19 07:08:14 +00:00
lukem
2e51a772b3
fix -Wsign-compare issue
2009-01-19 05:58:27 +00:00
tnozaki
db74109901
PR lib/40411, nuke wctrans_init(). lazy initialization is not good idea.
...
statically initialized _DefaultRuneLocale.rl_wctrans field.
so we can re-const-ify _DefaultRuneLocale.
pkgsrc/shells/standalone-tcsh should be rebuild,
because it's staticaly linked binary.
2009-01-18 22:03:19 +00:00
he
fddc3457b2
Change the use of formally undocumented features, which have now been
...
made to fail. Specifically, change
.ifdef(SYMBOL) -> .ifdef SYMBOL or .if defined(SYMBOL),
and corresponding for .ifndef.
Also correct one error in lib/libm/Makefile (.ifdef (${MKCOMPLEX} != "no")?!?).
2009-01-18 20:42:11 +00:00
christos
503c6c0a79
try a different approach since allocating a new RuneLocale is complicated.
...
Don't make DefaultRuneLocale const, so that we can write to it, and undo
previous changes.
2009-01-18 19:53:11 +00:00
he
8279128fee
Correct the syntax: .ifndef(RC4_SRCS) -> .if !defined(RC4_SRCS).
...
Could also have used .ifndef RC4_SRCS.
2009-01-18 16:52:18 +00:00
lukem
c17aaf60c9
WARNS=4
2009-01-18 12:17:49 +00:00
lukem
a06595c27b
fix -Wsign-compare issues
2009-01-18 12:14:16 +00:00
lukem
53ff085f8b
WARNS=4
2009-01-18 12:13:32 +00:00
lukem
c5eb4ab601
fix -Wsign-compare issues
2009-01-18 11:56:51 +00:00
drochner
fb535ac77e
Make mktime(3) work with 64-bit time_t.
...
The problem is that the tm_year field of "struct tm" is just an "int"
(per POSIX), and thus time_t values > 2^31*60*60*24*365 cannot
be converted. This made mktime(3) fail even if no such large time values
were passed in by user code because the algorithm does a binary search
over the time_t range which fails if a probe value cannot be converted.
To fix this, limit the time_t range to be scanned to 55 bits (which
is a bit on the safe side, but still good until y570855533).
This is more a stopgap fix, the overflow should be checked for
at other places as well (eg localtime(3)), and there are some more
limitations in timezone parsing code.
2009-01-18 10:57:15 +00:00
christos
15d0878308
use a separate variable to copy the locale.
2009-01-17 17:56:01 +00:00
christos
099cac49ad
fix debugging build.
2009-01-17 15:25:36 +00:00
christos
361e31839f
make this compile [now that I am on a machine that can compile :-)]
2009-01-16 21:18:37 +00:00
christos
826ddf7ef5
PR/40411: Hisashi T Fujinaka: standalone-tcsh dumps core when tab completing
...
The new rune code abuses __UNCONST to lazily initialize _RuneLocale. If
that happens to be the _DefaultRuneLocale which is const, the program will
core-dump because it will attempt to write to read-only memory. Catch this
and clone a copy of the locale and return it. The reason we don't see
everything core-dumping is because our shared library code probably loads
the text segment COW so it works (Is there an mprotect missing somewhere?).
But on statically linked binaries this is not the case and we die.
XXX[1]: Vet the code so that we are sure that there is no more of that
happening trying to get rid of much of the __UNCONST'ing.
XXX[2]: This needs to be fixed for 5.0 and all related fixes.
XXX[3]: There is one place in the code where _DefaultRuneLocale is treated
specially, does the patch break things?
2009-01-16 21:12:11 +00:00
drochner
21a81eb749
update struct timeval
2009-01-16 10:52:07 +00:00
christos
584a4c6af9
don't use glue for semctl, the number of underscores makes this an intractable
...
problem :-) Use regular wrappers like we do with sigtimedwait.
2009-01-16 00:02:57 +00:00
christos
74070c3c8c
fix the semctl glue build that worked before by chance by side effects of
...
building the the assembly stub as a normal stub. Just build it as a glue
stub.
2009-01-15 01:35:45 +00:00
pooka
2758ac8cf1
Update per rump_sys call __RENAME().
2009-01-13 22:33:10 +00:00
christos
6343ca254d
fix __sigtimedwait50
2009-01-13 01:50:04 +00:00
agc
8d4f251133
Reachover Makefile for libopenpgpsdk
...
XXX - still WARNS=1
2009-01-12 23:03:28 +00:00
christos
2d18fd40a7
- insert a space after the recognized string if it was an exact match
...
- initialize properly the string used for completion.
From Alex Bligh alex at alex dot org dot uk
- Make char constants consistent
2009-01-11 15:00:23 +00:00
christos
209f6eb5bd
add another directory the cvs did not merge.
2009-01-11 03:56:22 +00:00
christos
f943330f91
merge another directory that cvs missed.
2009-01-11 03:46:25 +00:00
christos
404fbe5fb9
cvs does not -j new directories, do it manually.
2009-01-11 03:41:28 +00:00
christos
46edb91e9f
bump shared libraries.
2009-01-11 03:07:47 +00:00
christos
50728e7823
merge christos-time_t
2009-01-11 02:57:17 +00:00
christos
461a86f9bd
merge christos-time_t
2009-01-11 02:45:45 +00:00
lukem
bbdbf3e294
fix some sign comparison warnings
2009-01-08 02:28:08 +00:00
lukem
5fcf39a9f8
Cast a value to time_t (not unsigned) when comparing to timespec tv_sec
2009-01-08 02:19:48 +00:00
lukem
4a94e73441
Change the second argument of getlogin_r() from int to size_t, per POSIX.
2009-01-06 11:16:46 +00:00
wiz
bdd95bc725
Add missing newline.
2009-01-06 00:13:02 +00:00
pooka
5369f33800
Return of the Flag: There is no PROT_EXECUTE.
2009-01-05 22:11:48 +00:00
rmind
57babc4980
Manuals describing the interface of POSIX message queues.
...
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
2009-01-05 21:19:48 +00:00
tnozaki
38eee9115b
add more item for major bump:
...
_ctype_ table in ctype.h and gen/ctype_.c has insufficient bitwidth.
2009-01-05 07:50:23 +00:00
tnozaki
2af58f1cce
1. reworking PR lib/40317:
...
libnbcompat already contains empty fparseln.lo
so previous fix doesn't work correctly.
i've just added broken fparseln check to configure script.
2. reworking cross build breakage under FreeBSD/MacOS X.
FreeBSD/MacOS X still have public /usr/include/runetype.h
derived from 4.4BSD-Lite. so i renamed out private header from
src/lib/libc/locale/runetype.h to src/lib/libc/locale/runetype_local.h
to solve this problems.
3. fix build breakage when CITRUS=no was set.
2009-01-05 06:11:43 +00:00
dogcow
c67ae0d68b
define __UNCONST for OSes that don't have it when building tools/mklocale
2009-01-05 03:14:30 +00:00
dogcow
441204832d
move nbtool_config.h include to top.
2009-01-05 03:10:02 +00:00
wiz
a711e8e9e4
Fix HTML output.
2009-01-04 09:42:43 +00:00
dholland
6557571403
Rework the text to make it clearer; it was really pretty confusing before.
...
Add an example; note some bugs/shortcomings. Bump date.
2009-01-04 07:54:15 +00:00
dholland
8f5f9030b6
SEE ALSO getmode(3)/setmode(3).
...
Suggested in passing by Joerg a long time ago on tech-pkg, seems like
a good idea.
Bump date.
2009-01-04 07:21:01 +00:00
lukem
a2c38ed82e
Ensure fts_close() doesn't spuriously close fd 0,
...
by testing FTS_SYMFOLLOW in fts_flags instead of fts_options.
Fix provided by Ben Harris in PR 40319
2009-01-03 06:12:14 +00:00
tnozaki
52ed7b035f
Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
...
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).
[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
new locale-db implementation using citrus_db backend,
see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].
[tools]
- mklocale(1): add new option ``-t'' that generates new style
LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().
[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
zh_CN.eucCN -> zh_CN.GB18030
and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.
i tested release-build following arch:
i386, amd64, hpc{mips,arm,sh}, sparc64, vax.
citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<
old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
2009-01-02 00:20:18 +00:00
wiz
42fdda0454
Bump date for previous.
2008-12-31 14:19:51 +00:00
christos
4a65af23ac
mention that these may fail with EPERM. From Anon Ymous
2008-12-31 13:57:54 +00:00
pooka
e605194ace
Nuke macros which haven't been used since the advent of RUMP_VOPs.
2008-12-31 00:35:00 +00:00
stacktic
69a3e4d4ea
Closing file in ukfs_release
2008-12-30 10:31:22 +00:00
christos
62f7265ebd
revert previous. It was meant for the branch
2008-12-29 15:08:03 +00:00
christos
ab903bdde4
support 64 bit time_t
2008-12-28 23:20:03 +00:00
christos
2d378f1d33
fix for dev_t 64 bits.
2008-12-28 22:45:05 +00:00
christos
6c20e81ce2
adjust for time_t 64
2008-12-28 21:33:35 +00:00
christos
7bf2b3b453
tdev is unsigned
2008-12-28 19:49:26 +00:00
christos
6127c68e1c
cast dev_t's to int32_t because XXX: sysctl can't change size. This should
...
be not a problem since tty's live in the low part of the dev range.
2008-12-28 19:46:47 +00:00
ad
ebaaa8cf7a
Some things to do on major bump.
2008-12-28 11:01:58 +00:00
ad
12c911ef99
Add more items for major bump.
2008-12-28 10:59:20 +00:00
wiz
b52bc84da9
Sort errors.
2008-12-26 21:02:28 +00:00
christos
16338b1c19
document pw_getpwconf.
2008-12-26 00:49:28 +00:00
wiz
38d39e864c
Fix deleto in previous.
2008-12-23 21:46:13 +00:00
christos
9cd6b6e766
fix argument order in example.
2008-12-23 20:53:31 +00:00
christos
fa2088e532
PR/18150: John F. Woods: Print meaningful error messages on inconsistent/
...
corrupt entries.
2008-12-21 17:54:43 +00:00
christos
a41cd06ba5
PR/9359: Chris Demetriou: Document fread/fwrite mixing behavior.
2008-12-19 20:20:48 +00:00
christos
4c237aa750
Wietse Wenema's tcpd-blacklist-patch:
...
ftp://ftp.porcupine.org/pub/security/tcpd-blacklist-patch
- If a host starts with a / treat it as a filename containing a list of hosts.
2008-12-18 20:16:52 +00:00
wiz
78f0ebffc8
Re-add LIBRARY section.
2008-12-17 14:05:23 +00:00
wiz
f1c9faeb9d
Fix some minor mdoclint complaints.
2008-12-17 10:39:22 +00:00
christos
930983f9c3
use the bitmask_snprintf info which is more complete, and adjust it for
...
reality.
2008-12-16 23:19:16 +00:00
christos
20ffd1f752
fix return values for snprintf and vsnprintf.
2008-12-16 23:09:19 +00:00
christos
c057bf8352
move snprintb to common
2008-12-16 22:34:40 +00:00
dsl
e8915d2e05
Actually we need 'long int' to avoif a stupid 'truncating long to int'
...
warning.
2008-12-13 11:53:25 +00:00
dsl
abd4a7f6d0
Change type of 'n' to 'int' so that it can be printed with %d.
...
The domain of the value is [-1..sizeof (int)] so a type of 'int' is fine.
2008-12-13 11:48:46 +00:00
christos
47b2a9219c
document svc_getrpccaller
2008-12-12 23:22:26 +00:00
pooka
a75f7c7343
Close write-end of daemonpipe in reader to get EOF if the writer
...
goes awol.
2008-12-12 19:56:12 +00:00
pooka
710e4c1a30
Defer ukfs (and hence rump) init until after detaching from console.
...
Otherwise forking when detaching will nuke our potential precious
threads.
2008-12-12 19:50:27 +00:00
pooka
33a0d776c1
Add puffs_cancel(), which allows to back down after puffs_init()
...
and before puffs_mount().
(this should actually be integrated with puffs_exit(), but that
routine is currently so non-sensible that I didn't bother now)
2008-12-12 19:45:16 +00:00
pooka
41f31dac6d
add:
...
puffs_setspecific(pu, private)
Can be used to set the specific data after the call to
puffs_init().
2008-12-12 18:59:53 +00:00
wiz
5d7029bf64
Sort sections, sort SEE ALSO, remove trailing whitespace.
2008-12-11 09:07:46 +00:00
yamt
ad61a2c71e
move a description of return values into the RETURN VALUES section.
2008-12-11 04:30:57 +00:00
christos
c900253da8
Martin says:
...
I had added a getaddrinfo()/getnameinfo() lookup to obtain an FQDN even
if gethostname() would return only the local part of the hostname.
I did not really consider that many systems do not have FQDNs and more
importantly that the calls introduce a high latency (timeout) when DNS
is not available.
On the other hand I do not (or no longer) think that using a non-FQDN is
such a big problem here. Those users/admins that do collect logs from
different hosts and want an FQDN should notice the problem quickly
enough and can easily fix it by correctly setting their hostname.
2008-12-10 15:20:04 +00:00
wiz
edd8540874
New sentence, new line. Bump date for fdopendir.
2008-12-05 13:26:41 +00:00
ad
117c67b2f2
Add fdopendir(), from Solaris/Linux.
2008-12-05 13:08:53 +00:00
reed
c2af20cf20
Add missing copyright and license.
...
This license is identical to that on the pam_krb5.c file minus the
other copyrights and the unrelated contract attribution.
From email communication with the author, Frank Cusack.
2008-12-02 22:52:06 +00:00
christos
c450dd749d
correct EBADF bogus comment.
2008-12-02 19:20:06 +00:00
cegger
83776b8eea
check error case for kvm_getlwps or SIGSEGV occurs due to dereferecing a NULL pointer.
...
return NULL if there are no threads or proceed further through all loops.
Fixes PR 40004. Ok rmind@
2008-11-29 18:24:58 +00:00
jnemeth
b9c73aff7d
PR/40060 - Bug Hunting -- grammar fix
2008-11-29 06:00:45 +00:00
wiz
0481201a86
Sort errors.
2008-11-28 22:33:02 +00:00
pooka
5ade66e9b9
make the synopsis slightly less overpromising:
...
"attempt to recover a deleted file" => "remove whiteout"
2008-11-28 09:48:58 +00:00
dholland
d5870e1cc6
Clarify that the "amaster" argument of forkpty() is only defined upon
...
return in the parent process, but the tty name is available to both
the parent and child. Bump date.
2008-11-28 07:17:17 +00:00
pooka
0b7df1d2e2
LIBDPLIBS on librumpvfs
2008-11-27 16:14:46 +00:00
wiz
11655fdf0f
Fix two mdoclint warnings.
2008-11-26 19:05:55 +00:00
pooka
a947a86fee
support:
...
a) readdir cookies and eofflag
b) file handle routines.
File handle routines are REALLY ugly and are not stable, i.e.
the file handle will be lost if the file server goes byebye.
They probably should be redone to not use getfh(), but for nullfs
I wanted to make them the same as when the file system is accessed
without the null layer. Well, turns out it doesn't pass anyway
since the kernel adds the fsid tags for fhandle_t. Anyway, it's
useful for some limited hacking purposes, so I'll commit this
since it works .. kinda.
2008-11-26 14:02:23 +00:00
pooka
e61394a6b8
i'm almost certain that puffs_cooie_t is supposed to be puffs_cookie_t
2008-11-25 11:49:08 +00:00
pooka
24bc96c743
Add BUGS section which notes that dynamic linker features in dealing
...
with link sets prevent from including more than one file system on
the link line and that the rest must be loaded dynamically at runtime.
2008-11-25 06:44:19 +00:00
martin
10b0d64e49
Remove __LIBC12_SOURCE__
2008-11-24 16:10:27 +00:00
pooka
d0303b2f28
Return ENODEV instead of ENOENT if the file system is not available.
2008-11-24 05:54:39 +00:00
pooka
945e7d735e
rump_vfs_load -> rump_module_load
2008-11-21 06:10:15 +00:00
pooka
9c035d43d1
dlerror() resets the error message, so save it since we want to
...
access it twice.
2008-11-21 06:07:23 +00:00
matt
0ad7281825
Add new ptree (Patricia / RADIX tree) implementation to NetBSD.
2008-11-20 23:50:08 +00:00
pooka
e10fef6cd2
Split vfs out of rumpkern into rumpvfs. Non-fs rumps no longer
...
include the file system code. File system rumps explicitly need
to include rumpvfs from now on.
2008-11-19 14:10:48 +00:00
wiz
c099cd9e1e
Remove trailing whitespace.
2008-11-17 15:21:43 +00:00
wiz
6c6bf72afb
Bump date for new section.
2008-11-17 15:21:22 +00:00
ahoka
6afdea3900
SEE ALSO
...
efun(3)
2008-11-17 14:59:57 +00:00
pooka
57f1031888
Use RUMP_VOP instead of prehistoric rump_vp.
2008-11-17 13:22:15 +00:00
christos
e1e5353bbe
PR/39347: floating and long double conversions were ifdef'ed out because
...
we did not have wcstold and wcstof back then. But this was done incorrectly
because we did not move the argument vector. Enable them now.
2008-11-16 16:26:01 +00:00
ad
c6555ead19
Our qsort() is inappropriate for kernel use because it makes recursive
...
calls. Replace it with a kheapsort() function in kernel. Pointed out
by tron@.
2008-11-16 16:15:58 +00:00
ad
e5c4df967a
Make qsort() available in libkern.
2008-11-16 15:01:26 +00:00
christos
9ebdd72925
Nobody tested this? Initialize wcio for wide char i/o.
...
NB: Pullup to 5.0.
2008-11-16 03:16:00 +00:00
ad
18e73e1ebe
Replace semid_t with intptr_t. No function change. This is a libc/kernel
...
private interface and so the name change should not affect any third
party code.
2008-11-14 15:49:20 +00:00
pooka
02d2ab30dc
Detach from console by default unless P2K_DEBUG is set in the
...
environment. We can't pass this as a flag, since rump_foo should
remain usage-compatible with mount_foo and therefore can't accept
puffs flags as command line parameters.
2008-11-14 13:43:20 +00:00
pooka
462f2a64a0
note that puffs_daemon() must be called *before* puffs_mount()
2008-11-14 13:27:24 +00:00
pooka
e489c3824a
fix typographical snafu
2008-11-14 13:10:13 +00:00
pooka
b2fa04c6b2
Now that MKPUFFS is default, kill it as advertised.
...
While there, give puffs and refuse files sensible syspkg entries.
2008-11-12 13:17:27 +00:00
pooka
0f81d3e0a2
reference rump_nfs
2008-11-12 06:32:08 +00:00
reed
a4bfac4a14
Reference secmodel_securelevel(9) manual page.
2008-11-11 00:09:36 +00:00
pooka
f455f7ee91
* use advisory file locks to avoid multiple mounts on the same device
...
(multiple rdonly mounts are still allowed)
* shuffle some assignments to avoid leaking resources in error branches
2008-11-07 00:18:33 +00:00