Commit Graph

17223 Commits

Author SHA1 Message Date
justin 76fd41999f gcc cannot always work out initialization here 2014-06-12 22:21:20 +00:00
joerg ef53e37514 Don't t use a C++ keyword as field name. 2014-06-12 21:39:45 +00:00
apb e7f11a1a5a fix missing backslash in previous 2014-06-12 19:12:19 +00:00
apb bb0d3eec51 Wrap complex macros in do { ... } while (0). Also replace the magic
number 1600000 with a macro.
2014-06-12 19:05:37 +00:00
christos b27e135433 rename to 60 2014-06-12 18:49:37 +00:00
christos 32baae8990 update for new signatures 2014-06-12 18:46:12 +00:00
christos 1eb0dcbb1d fix srandom and initstate signatures (from enh at google) 2014-06-12 18:44:36 +00:00
martin eb04decfe5 Some more errno remapping: if the NFS server is unreachable because we have
no route to it, assume there are no quotas. While this might sound like
an impossible scenario, it actually happens inside rump tests when we have
a virtual shmif network but are querying quotas for / which happens to
be on NFS (but of course outside of the shmif setup).
This fixes tests/fs/nfs/t_rquotad on diskless clients.
2014-06-11 08:43:01 +00:00
njoly e4ae04a902 Replace wrong numeric values with corresponding symbolic constants.
While here, remove unneeded paragraph macro.
2014-06-09 09:15:48 +00:00
roy c7009a57fe Re-stir after forking, fixes PR lib/25367.
Re-stir after consuming 1600000 bytes, fixes PR lib/45952.
2014-06-07 20:55:47 +00:00
joerg 86ed47b359 Fix conditionals. 2014-06-06 11:38:41 +00:00
christos 955a80396c be friendlier to nbcompat 2014-06-06 01:41:00 +00:00
wiz abf14c83e2 Remove trailing whitespace. 2014-06-05 22:09:50 +00:00
christos 78dc8159da PR/48876: Dmitriy Grigoryev: Core dump in readline lib on attempted expansion
Make sure we have 2 matches before calling strcmp().
2014-06-05 22:07:42 +00:00
christos 78d38aa25c Bring getopt(3) inline with getopt_long(3): recognize option:: as an optional
option.
2014-06-05 22:00:22 +00:00
martin 5eb4e81776 If a rpc for quota values fails with ENOTCONN translate this to ENOENT - we
certainly don't have any quotas if they are disabled on the file server.
This silences warnings from things like "quota -u -v" when NFS mounts
are present and no quotas are in use on the file server.
2014-06-05 13:14:23 +00:00
njoly 4dd55950ee len argument is of unsigned type (size_t) and thus cannot be negative;
remove corresponding statement in ERRORS.
2014-05-30 16:11:01 +00:00
christos f75f663858 Don't try to listen on UDP sockets. 2014-05-29 12:35:45 +00:00
christos 032a656e95 welcome to 2014d; zic big bang fixes:
some programs did not handle large negative time_t values well (gnome)
2014-05-28 19:13:27 +00:00
christos 721439951a CID 975117: check listen(2) return . 2014-05-28 14:49:28 +00:00
christos bf67527d19 CID 97511{4,5}: Ignore bindresvport return. It only works for root. 2014-05-28 14:45:57 +00:00
christos 226875968c CID 975113: Ignore __rpc_setnodelay error, it is not fatal 2014-05-28 14:45:19 +00:00
christos e05a011b8f CID 975112: Ignore bindresvport() return. This is can only succeed for root 2014-05-28 14:41:47 +00:00
christos b33a0c98e1 CID 975111: Ignore return value from initgroups(). If we failed, then
the failure would be that we could not open the .rhosts file so we fail
closed.
2014-05-28 14:39:02 +00:00
christos 8eb2e794a8 In COMPAT_DKWEDGE, attempt to open the label as specified in the NAME= entry.
This works for BSD disklabels, providing full compatibility. Merge some
duplicated code. This means that at least for BSD labels, we can handle
both pre and post- autodiscover kernels with the same fstab.
2014-05-25 13:46:07 +00:00
pooka d5b308ef63 do previous the right way to avoid rumpuser linkage dependency on librump 2014-05-23 16:57:42 +00:00
pooka 5fbc8e741c Create remote clients with standard file descriptors open. Fixes at
least editing a new file with ed in rumpremote (because ed calls
isatty(0) in case a file does not exist).
2014-05-23 11:04:03 +00:00
uebayasi d3e9bed41f Fix previous. 2014-05-23 03:05:56 +00:00
uebayasi 0d34bfa26d Put missing END() markers to set ELF symbol size. 2014-05-23 02:34:19 +00:00
uebayasi d6b02e86d1 Put missing END() markers to set ELF symbol size. 2014-05-23 02:17:43 +00:00
uebayasi 44f0e5275c Define hacked version of END() in addition to ENTRY(). 2014-05-23 02:03:41 +00:00
uebayasi 502c621104 Put missing END() markers to set ELF symbol size. 2014-05-22 15:21:13 +00:00
uebayasi 92d1d4411b Put missing END() markers to set ELF symbol size. 2014-05-22 15:01:56 +00:00
uebayasi 88c3252136 Put missing END() markers to set ELF symbol size. 2014-05-22 14:38:38 +00:00
abs 0b3334d19a Add workaround for lib/48827 for vax to avoid segv in sysinst for now 2014-05-21 14:01:30 +00:00
christos 368fe5a982 Always NULL terminate the argv[] array. From OpenBSD. 2014-05-20 15:05:08 +00:00
joerg 8883847bdf For the moment, don't complain about const casts. 2014-05-20 12:23:47 +00:00
christos 72aae1aa72 PR/48821: If called from tty_stty(), recalculate flags. 2014-05-19 21:01:48 +00:00
christos 75ef7650b2 more tty modes refactoring, no functional change intended. 2014-05-19 19:54:12 +00:00
jakllsch c628b5784a add npf_ext_param_string() 2014-05-19 18:47:19 +00:00
christos ed36ef9858 Factor out some common code (more to be done) from PR/48821 2014-05-19 17:14:41 +00:00
martin 3313ae3d61 Re-enable alpha IEEE compiler options 2014-05-18 10:47:03 +00:00
nat dc2ecd830b libossaudio minor version bump to signify new ioctls. 2014-05-18 10:36:34 +00:00
nat a8ba8ad76b Adds ioctls and defines for OSSv4 compatibility.
The ioctl definitions and accompanying structures were
taken from FreeBSD's soundcard.h, hopefully providing
some binary compatibility.

The ioctls are as follows:
	SNDCTL_SYSINFO: Returns a structure containing
		details about the audio device.
	SNDCTL_ENGINEINFO - SNDCTL_AUDIOINFO: Returns a
		structure with playback/recording
		characteristics.
	SNDCTL_DSP_GETPLAYVOL, SNDCTL_DSP_SETPLAYVOL,
	SNDCTL_DSP_GETRECVOL, SNDCTL_DSP_SETRECVOL:
		Retrieves/Sets Playback/Recording volume.
	SNDCTL_DSP_SKIP - SNDCTL_DSP_SILENCE: These ioctls
		were intended to manipulate the underlying
		audio buffer skip or insert silence.  These
		return EINVAL.

SOUND_VERSION is unchanged, but is definable,  It will be
changed when the mixer OSSv4 ioctls are written.

Addresses PR 46611
This commit was approved by wiz@.
2014-05-17 12:38:42 +00:00
martin 804dc5f91b Get rid of all sysc_init_field uses - initialize fields directly in C99
notation.
2014-05-16 12:22:32 +00:00
martin 5dd9bd30f5 When creating the descriptions for the "user" node, advance the output
pointer properly.
2014-05-16 09:41:42 +00:00
joerg 718b124a41 Prepare in case we want to hook up the profile init code later. 2014-05-16 00:11:30 +00:00
joerg 8f1ac24727 Deal with PGO rename. 2014-05-16 00:10:57 +00:00
joerg 88fc449bba Ensure notes are properly padded to 32bit length. 2014-05-14 14:59:14 +00:00
uebayasi b178885539 Whitespace. 2014-05-14 06:38:09 +00:00