Commit Graph

234985 Commits

Author SHA1 Message Date
mlelstv
6f00c789e1 Use C99-style initializers for struct dkdriver. 2015-04-26 15:15:19 +00:00
christos
e9bc88c818 PR/49859: Kamil Rytarowski: Invalid path to amd64nbsd-tdep.c in a comment 2015-04-26 12:44:08 +00:00
maxv
b3625a90bc Not to add even more confusion in an already overcomplicated subsystem,
remove the FreeBSD code. This code is likely to be outdated, and Veriexec
is in all cases not available on FreeBSD.
2015-04-26 09:45:40 +00:00
maxv
a8a116a51a KNF 2015-04-26 09:38:01 +00:00
martin
47a4f7949a Add a new arg to override the value of the "setlistdir" variable (that is:
where the mtree spec files are created)
2015-04-26 09:21:36 +00:00
maxv
3220cb2ac6 Be a bit more verbose if the kernel rejects a file 2015-04-26 09:20:09 +00:00
maxv
90cc9870a6 If we already have an entry for the file being loaded, return EEXIST, don't
silently skip it.
2015-04-26 09:16:06 +00:00
mlelstv
826a26234a Use verrx with a va_list. 2015-04-26 08:56:19 +00:00
mlelstv
e0bd604ced size output buffer for strunvis to include the trailing NUL character. 2015-04-26 08:03:05 +00:00
maxv
0b096b3626 ffs_superblock_validate(): check the size of cylinder groups. 2015-04-26 06:19:36 +00:00
pgoyette
9d05de2fd5 Remove another debug printf() that snuck in. 2015-04-25 23:55:23 +00:00
pgoyette
eb659e1350 Handle early initialization requirements - thanks martin@ and others 2015-04-25 23:40:09 +00:00
pgoyette
66a3d0a3c8 Correctly check return status when registering with pmf 2015-04-25 23:40:08 +00:00
pgoyette
cdddf9f1e9 Fix typo - thanks, riz@ 2015-04-25 23:16:37 +00:00
pgoyette
768d9729b5 Register the sysmon pseudo-device with power management framework so we
can properly suspend the system.

Thanks, mrg, for pointing this out.
2015-04-25 22:46:31 +00:00
wiz
9b0d6e4299 Sort keywords. From dieter roelants in PR 49855.
Bump date.
2015-04-25 22:03:07 +00:00
christos
0e60b6ed86 put back sed, it fits again (and is needed) 2015-04-25 21:44:34 +00:00
christos
74c7e628de make table smaller in size. 2015-04-25 21:43:53 +00:00
riastradh
8eea28f41a kmem_free the container structure, not a substructure. 2015-04-25 21:00:29 +00:00
mrg
eefa02b0a2 don't apply the "don't set CLUT" to RV280. it isn't necessary for
my PCI 9250 card, and hoses the colours in X when running.

unfortunately, my RV250 does need this to avoid the console being
very very dark on black.

i'm curious what other earlier radeon card (anything matching any
of the card marked as:  CHIP_R100, CHIP_RV100, CHIP_RS100,
CHIP_RV200, CHIP_RS200, CHIP_R200, CHIP_RV250, and CHIP_RS300.)


the RV280 now works again properly, but the RV250 is still having
a problem waiting for commands to complete and it appears as if
X is hung, when infact it is asking the kernel quite frequently
if the job it asked for is complete, each time sleeping for a
short time and thus only appearing to take almost no CPU.
2015-04-25 20:50:04 +00:00
maxv
ba6addd357 Make veriexec_renamechk() more readable. Also add a KASSERT on vte_count.
No real functional change
2015-04-25 19:10:29 +00:00
maxv
c4a1e2f31d Instead of duplicating code, add veriexec_fp_status(). Also reorder a
useless goto.
2015-04-25 18:43:13 +00:00
christos
e14eed55d7 kill sed so we fit on one floppy again. 2015-04-25 18:41:55 +00:00
rtr
69b4af1034 make rip_connect_pcb take sockaddr_in * instead of mbuf *
make rip_connect_pcb static since it appears to be used only in raw_ip.c

moves m_len check to callers which is a small duplication of code
that will go away when the callers are converted to receive sockaddr *.
2015-04-25 15:19:54 +00:00
rtr
403dacccdb fix missed parameter type change in dccp6_accept() to sockaddr * from mbuf * 2015-04-25 14:56:05 +00:00
jmcneill
f4d63a19ea Add Amlogic GPIO driver. 2015-04-25 14:41:33 +00:00
wiz
83b7d402c6 New sentence, new line. Bump date for previous. Various minor changes. 2015-04-25 14:27:02 +00:00
christos
d316037622 make things boot again, from martin. 2015-04-25 14:06:58 +00:00
mlelstv
70f54807e4 Explain how the kernel determines the root filesystem from information
passed by the bootloader.
2015-04-25 14:05:43 +00:00
riastradh
f6ff1e4bbc Use explicit_memset to zero key material. 2015-04-25 13:06:11 +00:00
riastradh
1742e3a843 Sprinkle const into cgd crypto API. 2015-04-25 12:55:04 +00:00
maxv
3a53aa923a Don't mix veriexec lock and file lock in veriexec_file_verify().
Now:
 - 'veriexec_op_lock' needs to be held when calling veriexec_file_verify()
 - the 'file_lock_state' argument indicates if the file is locked
 - add some KASSERTs
2015-04-25 09:08:51 +00:00
pooka
a240365213 Add libkvm to list of userspace libraries.
Even though kvm per se isn't support by rump kernels at least for now,
libkvm contains methods such as kvm_getproc2() which can be necessary for
compiling existing applications with kvm awareness as rumprun unikernels.
2015-04-25 08:48:06 +00:00
maxv
0dbfe729f6 KNF 2015-04-25 08:19:06 +00:00
pgoyette
0a6169f944 Use tabs for indentation. 2015-04-25 02:41:42 +00:00
pgoyette
a57c187695 Release the mutex in the error path. 2015-04-25 00:54:14 +00:00
rtr
a031e45cd5 make at_pcbconnect() take sockaddr_at * instead of mbuf *.
move m_len check into callers which results in small duplication of
code that will go away when the callers are converted to receive
sockaddr * instead of mbuf *.
2015-04-24 23:36:48 +00:00
rtr
eddf3af3c6 make accept, getsockname and getpeername syscalls use sockaddr_big and modify
pr_{accept,sockname,peername} nam parameter type from mbuf * to sockaddr *.

* retained use of mbuftypes[MT_SONAME] for now.
* bump to netbsd version 7.99.12 for parameter type change.

patch posted to tech-net@ 2015/04/19
2015-04-24 22:32:37 +00:00
christos
32027a8eea We only need the _cd when we are a module. 2015-04-24 19:49:24 +00:00
riastradh
bbd932f24f Per discussion with board@, remove inappropriate, hostile acronyms.
This reverts changes by rodent@ made without discussion and without
acknowledgement of objections.  Board's commit guidelines include
that changes that could possibly cause anyone to object should be
discussed, and there have been multiple objections publicly and
privately throughout the week.

This also removes some other entries that have been here for some
time that do not belong.  The acronyms file is not Urban Dictionary.
Nobody should expect to see any of these in use around the NetBSD
community, so there is no need to document them here.  If you want
Urban Dictionary, you know where to find it.

Please run any further changes by dholland@, the games maintainer.
2015-04-24 18:03:38 +00:00
jmcneill
186016aae7 IKR: I know, right? 2015-04-24 12:58:47 +00:00
pgoyette
94bc24cc94 The sysmon_envsys module also depends on sysmon_power (for delivery of
sensor events to userland).
2015-04-24 11:34:14 +00:00
ozaki-r
2c22236376 Avoid NULL checks for a variable that is definitely NULL 2015-04-24 08:53:06 +00:00
ozaki-r
7600c4ec42 Add missing rtcache_free
It's the same as other similar code paths in in_gif and ip6_etherip.
2015-04-24 07:51:43 +00:00
msaitoh
da07f8e1bd Sync ixg(4) up to FreeBSD r250108:
- Cleanup some unused counters and some unused code.
 - Improve performance.
 - Fix flow control - don't override user value on re-init
 - Fix to make 1G optics work correctly
 - Change to interrupt enabling - some bits were incorrect
   for certain hardware.
 - Certain stats fixes, remove a duplicate increment of
   ierror, thanks to Scott Long for pointing these out.
 - Fix the setting of RX which related to multicast.
 - Some netmap related fixes.
2015-04-24 07:00:51 +00:00
pooka
ff02be874a There are tests which rely on compat code continuing to be present,
so default RUMP_NBCOMPAT to all releases.

reported by gson
2015-04-24 06:29:56 +00:00
msaitoh
63b1069f35 X540 is not wm(4) but ixg(4). 2015-04-24 04:43:32 +00:00
msaitoh
aec097895e Move wm(4)'s X540 support from CHANGES to CHANGES.prev because it was
pulled up to netbsd-7.
2015-04-24 04:42:42 +00:00
pgoyette
63acdcb5b0 With new (corrected) configuration declarations file, the cdevsw is
already included by config.  So, for built-in sysmon module we don't
need to add the cdevsw to the table.
2015-04-24 03:35:49 +00:00
pgoyette
afc9935533 Update configuration definitions for new sysmon 2015-04-24 03:33:43 +00:00