Commit Graph

199516 Commits

Author SHA1 Message Date
jruoho
793b141fd9 Xref cdefs(3). 2011-03-30 15:37:15 +00:00
uebayasi
e4215d8a60 Whitespace. 2011-03-30 14:34:26 +00:00
he
6596e091ec Put tests depending on dlopen etc. under a test for MKPIC, and move
the corresponding entries in the set lists over to the shl.mi file.
This should bring the sun2 port back to a buildable state.
2011-03-30 11:43:15 +00:00
jruoho
a5f9dd4f2b Add some random, but decent enough, reading material to SEE ALSO. 2011-03-30 11:41:48 +00:00
wiz
c51b743b1e Add long example describing how to find and configure multimedia
keys; based on Mihai Chelaru's description on current-users in February.
Bump date.
2011-03-30 11:35:25 +00:00
jmmv
7c248362c1 Pull up upstream revision 648ed6360b2b7cda81a6079b00dc436d09c745b8:
Retry calls that raise file system errors during cleanup

If a test case mounts user-space (puffs/fuse) file systems or spawns
server processes that create pid files, the termination of the
corresponding processes does not guarantee that the file system is
left in a consistent state immediately.  The cleanup routines of both
components (file systems and daemons) may still be running.

This situation causes a race condition between the termination of the
auxiliary processes and our own file system cleanup: the file system
calls performed from within the cleanup routine may raise errors
because the file system is still changing underneath.  (E.g. we first
enumerate the contents of a directory and get file X, but when we
attempt to delete file X, it may be gone.)

Deal with this by retrying failing file system calls a few times and
ignoring "expected" errors before giving up.
2011-03-30 11:10:56 +00:00
martin
99ae53aa53 Note TLS support for sparc and sparc64 2011-03-30 10:32:35 +00:00
jruoho
a08955ebd9 Xref paths(3). 2011-03-30 10:08:02 +00:00
jruoho
2fefc9365f Briefly document <paths.h>. 2011-03-30 10:06:58 +00:00
blymn
3da4a766de fflush the outfd after setting the cursor visibility so it takes effect
immediately.
2011-03-30 09:47:02 +00:00
jruoho
8c6b9e263c Add some basic tests for fsync(2) and <paths.h>. 2011-03-30 09:43:21 +00:00
martin
112d7f90bb Enable TLS on sparc and sparc64 2011-03-30 09:23:26 +00:00
martin
9f905ee41c Add support for TLS relocations 2011-03-30 09:22:29 +00:00
martin
3a4af49105 Add support for 64 bit TLS relocations. 2011-03-30 08:37:52 +00:00
jruoho
a873c5cd55 Add missing __RCSID(3). 2011-03-30 08:34:19 +00:00
jruoho
29a43bf561 From Henning Petersen in PR # 44641: C99 primitive type 'bool' used
as a variable name. Also small KNF, as in FreeBSD.
2011-03-30 08:22:01 +00:00
dholland
81f95bf6fa Don't cast return value of malloc 2011-03-30 05:24:05 +00:00
dholland
b639c25325 use __printflike() 2011-03-30 05:20:59 +00:00
jym
fad92a48f9 printf("xennet: ...") => aprint_error_ifnet() 2011-03-30 00:17:04 +00:00
jym
3b2b362830 Remove spurious spaces. 2011-03-30 00:13:28 +00:00
joerg
928f301be9 Rework TLS initialisation:
- Update TCB for the initial thread in pthread__initthread, not
  pthread__init to get it valid as soon as possible.
- Don't overwrite the pt_tls field in pthread__initthread.
- Don't deallocate pt_tls in pthread__scrubthread. This worked more by
  chance than by design.
- Handle freeing the TLS area in pthread_create after removing the
  thread instance from the dead queue.
2011-03-30 00:03:26 +00:00
jym
26f424e994 Typo fix. 2011-03-29 23:51:32 +00:00
agc
a2e4cd88b7 fix a repeated typo 2011-03-29 21:43:17 +00:00
joerg
8fa6585514 Block signals when using the exclusive lock. 2011-03-29 20:56:35 +00:00
plunky
1a7622f6a7 tidy up include pathname to exclude undefined behaviour
"If the characters ', \, ", //, or /* occur in the sequence between
  the < and > delimiters, the behavior is undefined."
2011-03-29 20:10:31 +00:00
jruoho
cb0f983e60 Improve -width. 2011-03-29 18:54:54 +00:00
riz
4c4709acf2 Whoops, merge two lines about iscsi initiator. 2011-03-29 18:07:14 +00:00
sjg
be03bd0379 Check for extra commands as soon as we reach CWD,
so we return faster (if oodate) and give a more accurate debug message.
2011-03-29 17:29:20 +00:00
sjg
ede3eaf4a5 CondDoExists: Avoid use after free() 2011-03-29 17:19:22 +00:00
jmmv
e58081aa53 Halt the httpd server _before_ rump. Per pooka@'s suggestion. 2011-03-29 16:03:32 +00:00
jmmv
5bd1bce108 Make httpd create a pid file and use that to kill the server in a controlled
manner (instead of indirectly through rump.halt).  Suggested by pooka@.
2011-03-29 15:43:45 +00:00
jmmv
255271589f Extend pidfile(3) to support creating pid files in arbitrary locations.
If the argument provided to pidfile(3) contains a '/', then the value is
considered to be an absolute/relative path and the pid file is created
in the given location.

Otherwise, pidfile(3) behaves as before and treats the provided value as
a basename to construct a pid file in /var/run/<basename>.pid.  This means
that to create a pid file named "foo.pid" in the current directory, one
must specify "./foo.pid".
2011-03-29 13:55:37 +00:00
mbalmer
c9dadfa0d7 Don't comment out printer reset on open, if this causes a problem, use the
/dev/ulpnX device node which sets a flag that prevents the reset.
2011-03-29 07:48:13 +00:00
jmmv
83bb438905 Add pid file support: if the new -P option is provided, it specifies the
location of the pid file to create.

OKed by mrg@.
2011-03-29 07:22:31 +00:00
dyoung
149dd44b66 __HAVE_DEVICE_REGISTER_POSTCONFIG and __HAVE_DEVICE_REGISTER
are no more, so don't use them here.
2011-03-28 22:23:39 +00:00
riz
d4bd4b1f37 In-kernel iscsi initiator is looking good for 6.0 2011-03-28 19:42:11 +00:00
para
8b166785aa Added myself. 2011-03-28 18:48:21 +00:00
fair
99c0cae956 Add dholland's comment about units not warning users about non-sensical
conversions to the BUGS section.
2011-03-28 16:09:10 +00:00
tsutsui
0b9b85d98b Use CALLFRAME_SP(sp) instead of CALLFRAME_S0(sp) to save s0.
At least PROM's _getenv() on 3MIN doesn't preserve CALLFRAME_S0(s0)
and prom_findcons() returns bogus console after mips64 merge.

XXX: I wonder if it's safe to use CALLFRAME_S0(sp) (== 0(sp)) on O32/O64..
2011-03-28 14:40:00 +00:00
ahoka
1a7f8f91f0 Fix manpage wrt reversed compare functions. 2011-03-28 13:46:14 +00:00
tsutsui
397c14a1c3 Use REG_L (not REG_S) to restore a register value. 2011-03-28 12:26:59 +00:00
joerg
6b0a585bda Catch up with library roulette in lli. Allow LLVM_DEVELOPER to be set in
mk.conf. From Vladimir Kirillov.
2011-03-28 11:41:48 +00:00
martin
ecf8c9b0f0 ABI police: avoid cluttering global registers %g2 and %g7. Not quite there
yet for %g2, but the target is not very well defined. %g7 should be clean
now.
2011-03-28 11:19:12 +00:00
plunky
b700da1ddc move building of Xorg server into a SUBDIR since it is created from
the other subdir contents, ok by mrg@

(this makes "make all" and "make dependall" do the same thing)
2011-03-28 10:08:06 +00:00
joerg
e49f915c10 Refine locking scheme around init/fini to not hold the exclusive lock.
Use a simple generation count instead and restart looking for work if it
changed (e.g. due to an dlopen call from an init function).
Leave the possible dlclose() race for now.
2011-03-28 00:37:40 +00:00
dholland
75f2c9abd2 fix typo 2011-03-28 00:14:51 +00:00
dholland
8cf15952a4 Update radioactivity-related units from http://physics.nist.gov/cuu/Units/.
The prior definition of sievert was, as far as I can tell, entirely wrong.

Caution: while "gray" and "sievert" have the same dimensionality,
they're not interchangeable -- you need to multiply by a fudge factor
that varies depending on the type of radiation and the tissue it's
affecting. (Dimensional analysis is often not a substitute for knowing
what you're doing.)

It would be nice if units had a way to warn users when they're trying
to do something that doesn't make sense, since there are lots of ways
to do so, but it doesn't, and it wouldn't be easy to arrange in the
general case.
2011-03-28 00:08:47 +00:00
wiz
7091eebfa9 Whitespace and punctuation. 2011-03-27 22:55:07 +00:00
wiz
971b386cde Oh no -- a space! get rid of it, quick. 2011-03-27 22:51:35 +00:00
wiz
93cb656370 Add RCS Id. 2011-03-27 22:47:40 +00:00