christos
cfa16c6369
Fix memory leaks in error paths.
...
From Michael Cook mcook at bbn dot com
2009-07-22 15:57:40 +00:00
christos
83965485c1
Always initialize nread since it is an out param.
...
From Michael Cook mcook at bbn dot com
2009-07-22 15:57:00 +00:00
christos
17a17e3aeb
Move filename to the scope it is being used.
...
From Michael Cook mcook at bbn dot com
2009-07-22 15:56:29 +00:00
njoly
3d5d2c8f61
Make compat linux/linux32 getdents(2) fail with ENOTDIR instead of
...
EINVAL when file descriptor does not refer to a directory.
2009-07-22 15:49:29 +00:00
drochner
d493d48c2e
add a "public domain" note (there is nothing creative justifying a
...
long license)
2009-07-22 15:09:57 +00:00
njoly
b5ed1c3306
Add usr/libdata/debug/usr/tests/lib/libc/string for MKDEBUG build.
2009-07-22 14:24:01 +00:00
wiz
f21bef181d
Add comma in enumeration.
2009-07-22 07:07:27 +00:00
dholland
b58d0cd33a
typo in comment
2009-07-22 04:49:19 +00:00
pooka
22d6f86dee
regen: fh syscalls
2009-07-21 23:59:19 +00:00
pooka
39de73aae0
+fhopen, +fhstatvfs1 RUMP
2009-07-21 23:59:00 +00:00
drochner
55f6a48c74
flag a 64-bit integer constant as "ULL" -- this is not clean but the
...
code around it assumes it anyway
fixes build on 32-bit
2009-07-21 21:45:33 +00:00
drochner
8e73e87c59
remove stray semicolons, makes lint happy and lets the libc build proceed
2009-07-21 19:56:55 +00:00
dyoung
5a4d67314b
Extract a lot of code from dkwedge_del(), and move it to dkwedge_detach()
...
to create a comprehensive detachment hook. Let that hook run at
shutdown. Now, 'drvctl -d dk0' actually deletes a wedge if it is
not in-use (otherwise fails w/ EBUSY), and wedges are gracefully
detached from their "parent" at shutdown.
2009-07-21 19:41:00 +00:00
njoly
7d645a3ea4
Kill unreachable return statement.
2009-07-21 18:50:43 +00:00
njoly
dd5f408241
Do reject unknown/invalid linux clockid.
2009-07-21 18:42:56 +00:00
joerg
11e383c9e8
Include limits.h.
2009-07-21 17:37:51 +00:00
joerg
88ee985652
Don't redefine uint16_t and uint8_t, just use the system includes.
2009-07-21 17:35:17 +00:00
joerg
cb19415914
Make the constant u_longlong too, lint is just too stupid...
2009-07-21 17:14:12 +00:00
joerg
ebf8c87cf8
Some parts of gcc fail with the direct include of sys/inttypes.h, so
...
fall back to using sys/types.h like stdlib.h does.
2009-07-21 16:27:54 +00:00
joerg
9a4b5deb76
Add explicit casts to make lint happy.
2009-07-21 16:10:48 +00:00
dyoung
57ba504b86
device_t/softc split. Compiled, but never run.
2009-07-21 16:04:16 +00:00
tsutsui
5e279a4e0f
No need to clear BSS in kernel itself if there is valid bootinfo,
...
i.e. it's loaded by our native bootloader.
2009-07-21 15:10:39 +00:00
joerg
0578c2ad0f
Move popcount et al to src/common and add popcount32/popcount64.
...
Requested by rmind@. MD should now override popcount32/popcount64 and
provide the aliases as fitting.
2009-07-21 14:55:32 +00:00
tsutsui
e593aba25a
Fix an #ifdef botch in rev 1.214 that causes
...
[ Kernel symbol table invalid! ] message at boot,
which means no ksyms(4) support even on GENERIC kernel.
Should be pulled up to netbsd-4 and netbsd-5.
2009-07-21 14:26:48 +00:00
njoly
f70dbee979
+mount_nilfs.debug
2009-07-21 14:18:50 +00:00
wiz
02079c4a1c
Xref popcount(3).
2009-07-21 13:22:15 +00:00
wiz
345d7916c5
Fix typo, add comma in enumeration.
2009-07-21 13:21:41 +00:00
joerg
974b291a6c
Add popcount(3) and the long and long long version. Name is inspired by
...
gnulib, the implementation goes back to the AMD Software Optimizer
guide. A number of platforms will want to replace the C version with
assembler code using native instructions.
2009-07-21 13:18:43 +00:00
joerg
ed9dacacc0
Add HISTORY.
2009-07-21 12:40:52 +00:00
phx
b6cfe437c9
Some improvements based on the work of Adam Ciarcinski.
...
Adapted everything to integrate with current 5.99 source.
Added an Amiga PIC for interrupt handling.
Status:
A CSPPC machine probably boots into single user, but only few devices
will attach without problems (e.g. keyboard, serial, parallel, floppy disk,
the RTC, CC graphics, sometimes Ariande ethernet and A4000 IDE.
BPPC support is prepared, but unfinished and untested (I don't own a BPPC).
A problem which has to be solved is interrupt acknowledging, which may happen
twice. Once in the amiga drivers from sys/arch/amiga/dev and then in the PPC
specific pic_amiga.c.
2009-07-21 09:49:15 +00:00
skrll
9cbe4c8668
device_t/softc split
...
CFATTACH_DECL -> CFATTACH_DECL_NEW
struct device * -> device_t
struct cfdata * -> cfdata_t
Use aprint*
2009-07-21 07:35:55 +00:00
nisimura
0c9a82b249
protect C constructs from assembler source inclusion.
2009-07-21 07:08:57 +00:00
ahoka
b05ff95e20
Modify to support multibyte characters.
2009-07-21 01:35:02 +00:00
ahoka
d5fb12b51d
Apply some ANSI and KNF.
2009-07-21 01:25:14 +00:00
ahoka
e48fb46a99
Change to support multibyte characters.
2009-07-21 01:12:55 +00:00
mrg
246985af64
do not need the postfix libraries here.
2009-07-21 01:06:02 +00:00
mrg
b17f780b18
do not need the postfix libraries.
2009-07-21 01:05:35 +00:00
mrg
f561334a77
rebuild all of these based upon build-makefiles version 1.7.
...
XXX: i have re-applied the by-hand patch to
XXX: compat/gnu/lib/crtstuff4/Makefile that ensures it finds the right
XXX: tconfig.h.
2009-07-21 01:00:36 +00:00
mrg
5d96b1e371
updates for compat builds.
2009-07-21 00:49:30 +00:00
mrg
44b898ae03
it's not quite upto libcrypto.so.6.1 yet...
2009-07-21 00:49:13 +00:00
mrg
1cb295e0ed
what was usr.bin/ssh is now openssh/bin, not openssh/bin/ssh.
2009-07-21 00:48:29 +00:00
mrg
03f1126058
set SSHDIST to the new location. HI CHRISTOS!
2009-07-21 00:47:23 +00:00
pooka
92eb973615
don't need absolute paths for fs component names
2009-07-21 00:40:44 +00:00
pooka
d6d0aeb45d
Make rump_lfs work again: load fs components dynamically instead
...
of trying to link them in on the command line and get pounded by
link set failage.
2009-07-21 00:37:25 +00:00
pooka
dd081aad70
the consumers expect the aiodone workqueue to be mpsafe. make it so.
2009-07-21 00:33:28 +00:00
mrg
c0b992d345
enter the right bin/ssh subdir for "configinstall".
...
HI CHRISTOS!
2009-07-21 00:28:35 +00:00
mrg
9ee8cf1e0a
fix the generated from id.
...
don't generate some subdir makefiles.
2009-07-21 00:23:02 +00:00
pooka
80f30aa223
Can't see any reason to stat() the .so before dlopen(), so get rid
...
of that call. uses normal ldlib paths now
2009-07-21 00:19:57 +00:00
mrg
5678e04508
bring this much closer to reality:
...
- add many subdirs of libs missing
- output a literal $NetBSD$ as well as the expanded version of this script
- special case a bunch of the external subdirs, since some of the library
subdirs exist in toplevel directory, not the "lib" directory
2009-07-21 00:12:00 +00:00
christos
e97383ebc1
Don't lets this linger around forever. Causes hidden bugs.
2009-07-20 22:55:47 +00:00