Commit Graph

13148 Commits

Author SHA1 Message Date
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