Commit Graph

210941 Commits

Author SHA1 Message Date
christos
9f6de85630 add tgamma{,f} 2012-05-05 17:52:27 +00:00
tsutsui
56ed3d51fc Don't use "#if defined(__i386__) || defined(__x86_64__)" conditionals
in C source file to define option features.
Define proper options in each Makefile per ${MACHINE_ARCH} variable instead.

Previously if a host is x86 and it has /usr/mdec/mbr file in its system,
tools fdisk implicitly installs it as mbr bootcode even for !x86 targets.
2012-05-05 16:03:55 +00:00
christos
a4deae0de5 fix typo, WARNS=5 2012-05-05 15:57:45 +00:00
jym
07829955b6 Add latest CR4 bits:
- CR4_VMXE: VMX operations, used for hardware virtualization.
- CR4_SMXE: SMX operations, used for safer Mode Extensions (ground for
            Intel's TXT - Trusted Execution Technology - platform).
- CR4_FSGSBASE: enable *FSBASE and *GSBASE instructions, for R/W access
                to FS/GS segment base addresses.
- CR4_PCIDE: enable Process Context IDentifiers (other architectures may call
             these "address space identifiers").
- CR4_OSXSAVE: enable xsave and xrestore instructions
- CR4_SMEP: Supervisor Mode Execution Prevention. Allows enforcing --x rights
            from cpl 0.

From Intel® 64 and IA-32 Architectures Software Developer’s Manual,
March 2012.

Align declarations.

CPUID_* bits for these features follow.
2012-05-05 15:08:29 +00:00
christos
2cb8b46c96 avoid using cpp variadic macros and explain why. 2012-05-05 15:04:57 +00:00
macallan
648feb69e9 make sure opt_sunkbd.h exists 2012-05-05 13:47:07 +00:00
yamt
9b10dd1106 comments and cosmetics. no functional changes. 2012-05-05 04:08:53 +00:00
jnemeth
a8f4028e66 Update all variable days
- religious holidays taken from Wikipedia where available
- floating days (i.e. X day of Y month) taken from cal(1)
- NetBSD releases taken from http://www.netbsd.org/releases/formal.html#history
  - hopefully somebody will update this for the 6.0 release

Hopefully, these days will be correct for the first year of NetBSD 6.0.
2012-05-05 01:29:56 +00:00
wiz
66c3a8d39a The new apropos(1) incorrectly displays hyphens in the first line
of the search results for a few man pages (for man(7) based man
pages).

Use patch from Abhinav Upadhyay in PR 46408 to fix this.
2012-05-04 23:50:26 +00:00
christos
4af0aec9a5 comment out debugging printfs 2012-05-04 17:57:22 +00:00
joerg
1ffe43311f Do not depend on failing malloc to set errno 2012-05-04 16:45:05 +00:00
joerg
615642201d Drop obsolete pthread restriction. 2012-05-04 12:28:03 +00:00
joerg
8050d45d71 Simplify check for TLS definition to not hide code. Drop it in another
place as it is redundant.
2012-05-04 12:26:33 +00:00
christos
73e25da1dd - match regular ioctl prototype (3rd argument is optional)
- fix lint issues
2012-05-04 11:48:12 +00:00
christos
b01ba4dca4 depend on "vcoda" since it has symbols we need. 2012-05-04 02:06:27 +00:00
christos
b6690e266f fix locking in getpages when running executables. 2012-05-04 01:40:13 +00:00
christos
89fb5ce609 remove variable names from prototypes. 2012-05-04 01:38:56 +00:00
bsh
5a5aba4464 use uint64_t for sc_disksize512.
fixed the problem with ataraid volumes larger than 2 TiB.
2012-05-03 21:21:08 +00:00
mishka
89872c6470 Drop extra ")" symbol near "OpenSSH". 2012-05-03 19:07:13 +00:00
christos
b43ddeabe0 move the assert after the locked case. 2012-05-03 14:26:42 +00:00
rmind
b10bf4690c Revert posix_spawn() clean up for now, there are some bugs. 2012-05-02 23:33:11 +00:00
wiz
d4a2bd08b2 Remove trailing whitespace. 2012-05-02 22:38:31 +00:00
rmind
d9290bb010 do_open: move pathbuf destruction to the callers, thus simplify and fix a
memory leak on error path.
2012-05-02 20:48:29 +00:00
christos
e4d18b9bd2 Instead of sharing the coda vnode lock with the ffs vnode lock, share the
ffs vnode lock with coda.
2012-05-02 16:51:01 +00:00
gendalia
7591311640 Add the ability for staticroute to evaluate lines from /etc/route.conf
as shell script fragments, add example to the route.conf man page of
evaluating variables.

Remove route.conf man page statement that staticroute is enabled in
rc.conf since that's incorrect.

Wrap the staticroute while in parens, per <apb> & <christos>, and
quote all the arguments for the evals.
2012-05-02 15:57:15 +00:00
jakllsch
ccce006c72 Bump date to date of previous change. 2012-05-02 15:42:58 +00:00
christos
7d659a9119 make this compile again. 2012-05-02 14:54:26 +00:00
christos
b7d2912934 test for both NUL and _POSIX_VDISABLE, because _POSIX_VDISABLE propagation
between different daemons and OS's does not seem reliable.
2012-05-02 14:36:07 +00:00
cheusov
8e6f0d9ebd Add .include <bsd.sys.mk> for initializing USE_SSP.
This fixes build failure if USE_FORT=YES
   Approved by christos@
2012-05-02 13:35:03 +00:00
agc
1a27c54f9a re-work the previous to make it format correctly 2012-05-02 04:23:09 +00:00
christos
247db26913 mention openssh 6.0 2012-05-02 02:44:20 +00:00
christos
bd00465ee0 bump libssh 2012-05-02 02:43:00 +00:00
christos
845f0e2763 bump 2012-05-02 02:41:13 +00:00
christos
091c4109a8 merge OpenSSH 6.0
Features:

 * ssh-keygen(1): Add optional checkpoints for moduli screening
 * ssh-add(1): new -k option to load plain keys (skipping certificates)
 * sshd(8): Add wildcard support to PermitOpen, allowing things like
   "PermitOpen localhost:*".  bz #1857
 * ssh(1): support for cancelling local and remote port forwards via the
   multiplex socket. Use ssh -O cancel -L xx:xx:xx -R yy:yy:yy user@host"
   to request the cancellation of the specified forwardings
 * support cancellation of local/dynamic forwardings from ~C commandline

Bugfixes:

 * ssh(1): ensure that $DISPLAY contains only valid characters before
   using it to extract xauth data so that it can't be used to play local
   shell metacharacter games.
 * ssh(1): unbreak remote portforwarding with dynamic allocated listen ports
 * scp(1): uppress adding '--' to remote commandlines when the first
   argument does not start with '-'. saves breakage on some
   difficult-to-upgrade embedded/router platforms
 * ssh(1)/sshd(8): fix typo in IPQoS parsing: there is no "AF14" class,
   but there is an "AF21" class
 * ssh(1)/sshd(8): do not permit SSH2_MSG_SERVICE_REQUEST/ACCEPT during
   rekeying
 * ssh(1): skip attempting to create ~/.ssh when -F is passed
 * sshd(8): unbreak stdio forwarding when ControlPersist is in use; bz#1943
 * sshd(1): send tty break to pty master instead of (probably already
   closed) slave side; bz#1859
 * sftp(1): silence error spam for "ls */foo" in directory with files;
   bz#1683
 * Fixed a number of memory and file descriptor leaks
2012-05-02 02:41:08 +00:00
macallan
1da85cff6f remove some commented out / unused junk 2012-05-02 00:55:26 +00:00
riz
89f7ad6034 Check for del_rc_conf() == 0, not !del_rc_conf(), and fix a couple of
instances where the check was wrong.  sysinst now properly saves dhcp
and host config again.
2012-05-01 18:28:47 +00:00
agc
142f8d12eb document the correct argument to wstandout(3) and wstandend(3) 2012-05-01 17:32:58 +00:00
martin
fe585d0294 Explicitly include <sys/kmem.h> 2012-05-01 15:09:36 +00:00
martin
1519b75992 On unaligned access, provide the data address to the signal handler, instead
of the faulting instructions address.
2012-05-01 09:40:15 +00:00
manu
7f8940a8ce Return ENODATA when no attribute is found, like Linux does. After
all we decided to adopt the Linux API, therefore there is rationale
to stick to it.

No standard tells us what to do, and our extended attribute API has not
been used in a release, therefore we do not break anything, and we get
more easily compatible with programs using the Linux extended attribute
API.

Note that FreeBSD and MacOS X return ENOATTR. FreeBSD has its own API
and MacOS X has a Linux-like API. How did the world get so complicated?
2012-05-01 07:48:25 +00:00
macallan
c4ff263d05 add license header 2012-05-01 07:46:47 +00:00
rmind
f1d428af19 - Replace some malloc(9) uses with kmem(9).
- G/C M_IPMOPTS, M_IPMADDR and M_BWMETER.
2012-04-30 22:51:27 +00:00
rmind
0c217aec3a posix_spawn:
- Remove copy-pasting in error paths, use execve_free_{vmspace,data}().
- Move some code (both in the init and exit paths) out of the locks.
- Slightly simplify do_posix_spawn() callers.
- Add few asserts and comments.
2012-04-30 21:19:58 +00:00
pgoyette
a61ffc9868 Fix a (obvious) typo 2012-04-30 20:41:33 +00:00
riz
4ca684e9f6 Don't have pkgin prompt before updating the database. 2012-04-30 19:57:52 +00:00
martin
0aeedd76fe Add missing white spaces at end of line (meaning forced line breaks) 2012-04-30 19:49:26 +00:00
martin
23b152e8d9 Translate enable_binpkg 2012-04-30 19:43:45 +00:00
riz
29b07b45cc Check if the network is up before attempting to install pkgin. If not,
configure it.
2012-04-30 19:05:29 +00:00
christos
748ee23b9d kern/46391: Nat Sloss: ums.c doesn't support digitizers or touchscreens 2012-04-30 17:27:50 +00:00
njoly
ef99a623d5 Move module related debug entries to module.mi list to fix MKDEBUG=yes
and MKKMOD=no builds. Add missing k_helper3.debug line.
2012-04-30 13:47:51 +00:00