Hi! I have the following problem:
I installed FreeBSD 4.1 on Compaq Proliant with SCSI disks. I tried to
change in kernel such parameters
config kernel root on wd0
to
config kernel root on id0
also I added such strings
controller ida0
disk id0 at ida0 drive0
disk id1 at ida0 drive1
but when i
I need to write some code that will be like a wrapper
for some user-level binaries and will intercept some system calls
before and after each call, and eventually modify the arguments
and/or the result.
First I was looking at ptrace(3), but seems that the
*BSD ptrace doesn't have the equivalent
Excuse that I again trouble you.
I installed FreeBSD 4.1 on Compaq Proliant and I try to compile kernel I
make such things
#config KERNEL_NAME
#cd ../../compile/KERNEL_NAME
#make depend
..making
#make
Nothing happening I again receive #
Then I try to run
#make install
but I receive such
Intercepting syscalls is very easy. In my mind, what you should do is
write a KLD that creates a syscall that mimicks the actions of what
syscall you are going to hijack. Your new syscall will only look at the
struct ##syscall_args *uap pointer [kernel land argument to syscall] and
modify it.
It said that it doesn't now how to buildkernel.
Also excuse I installed 3.5-RELEASE and not 4.1
but I must change this
config root kernel on wd0
because I have only SCSI disks so after machine rebooted I receive such
message
can't mount root(2)
it is because he tried to find root on wd0.
I also
Excuse that I again trouble you, but after I read snth on Freebsd.org I
have such questions.
I installed FreeBSD 3.5 on Compaq Proliant 1500 with SCSI disks and after
booting I receive such message:
changing root device to wd0s1a
changing root device to wd0a
error 6: panic: cannot mount root (2)
Intercepting syscalls is very easy. In my mind, what you should do is
write a KLD that creates a syscall that mimicks the actions of what
Thanks for the detailed info and the pointers.
However, I forgot to mention that the solution I need should not
require modifications to the system,
try after
#cd ../../compile/KERNEL_NAME
do
#vi Makefile
and look through it..
P.S. Sorry for my bad English.. :)
On Sun, 3 Sep 2000, petro wrote:
Excuse that I again trouble you.
I installed FreeBSD 4.1 on Compaq Proliant and I try to compile kernel I
make such things
#config
8 matches
Mail list logo