mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-24 09:13:37 +01:00
In r227839, when removing libkvm dependency on procfs(5),
kvm_uread() function, used for reading from /proc/pid/mem, was removed too. But the function declaration remained in kvm.h public header and the soname was not bumped. Remove kvm_uread() from kvm.h and bump the soname. Reported by: rmh Discussed on: arch
This commit is contained in:
parent
53aa3d1a99
commit
374931bdc1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253167
@ -38,6 +38,9 @@
|
||||
# xargs -n1 | sort | uniq -d;
|
||||
# done
|
||||
|
||||
# 20130710: libkvm version bump
|
||||
OLD_LIBS+=lib/libkvm.so.5
|
||||
OLD_LIBS+=usr/lib32/libkvm.so.5
|
||||
# 20130623: dialog update from 1.1 to 1.2
|
||||
OLD_LIBS+=usr/lib/libdialog.so.7
|
||||
OLD_LIBS+=usr/lib32/libdialog.so.7
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
LIB= kvm
|
||||
SHLIBDIR?= /lib
|
||||
SHLIB_MAJOR= 6
|
||||
CFLAGS+=-DLIBC_SCCS -I${.CURDIR}
|
||||
|
||||
.if exists(${.CURDIR}/kvm_${MACHINE_ARCH}.c)
|
||||
|
@ -89,8 +89,6 @@ kvm_t *kvm_openfiles
|
||||
(const char *, const char *, const char *, int, char *);
|
||||
ssize_t kvm_read(kvm_t *, unsigned long, void *, size_t);
|
||||
ssize_t kvm_read_zpcpu(kvm_t *, void *, u_long, size_t, int);
|
||||
ssize_t kvm_uread
|
||||
(kvm_t *, const struct kinfo_proc *, unsigned long, char *, size_t);
|
||||
ssize_t kvm_write(kvm_t *, unsigned long, const void *, size_t);
|
||||
__END_DECLS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user