]> Zhao Yanbai Git Server - minix.git/commit
various coverity-inspired fixes
authorBen Gras <ben@minix3.org>
Mon, 16 Jul 2012 11:17:11 +0000 (13:17 +0200)
committerBen Gras <ben@minix3.org>
Mon, 16 Jul 2012 12:00:56 +0000 (14:00 +0200)
commitcbcdb838f167dc51956da5dae9dc9fb78869d87a
treed8c74a2ca00b7ea4c0636d05850bbfb5c434efc8
parent77dbd766c1cf94735eb1e385d6ce9f84e6807565
various coverity-inspired fixes

. some strncpy/strcpy to strlcpy conversions
. new <minix/param.h> to avoid including other minix headers
  that have colliding definitions with library and commands code,
  causing parse warnings
. removed some dead code / assignments
26 files changed:
drivers/pci/pci.c
include/minix/Makefile
include/minix/const.h
include/minix/param.h [new file with mode: 0644]
include/minix/type.h
kernel/arch/i386/memory.c
kernel/arch/i386/pg_utils.c
kernel/arch/i386/protect.c
kernel/kernel.h
kernel/main.c
kernel/proc.c
kernel/profile.c
kernel/system/do_getinfo.c
kernel/system/do_safecopy.c
kernel/system/do_safemap.c
lib/libsys/env_parse.c
servers/ds/store.h
servers/is/glo.h
servers/pm/main.c
servers/pm/pm.h
servers/procfs/glo.h
servers/rs/glo.h
servers/vfs/glo.h
servers/vm/arch/i386/pagetable.c
servers/vm/glo.h
servers/vm/main.c