lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 23 Dec 2011 14:52:14 +0530
From:	Gaurav Saxena <grvsaxena419@...il.com>
To:	richard -rw- weinberger <richard.weinberger@...il.com>
Cc:	"J. R. Okajima" <hooanon05@...oo.co.jp>,
	linux-kernel@...r.kernel.org
Subject: Re: Intercepting system calls

Hello Richard

On Fri, Dec 23, 2011 at 2:46 PM, richard -rw- weinberger
<richard.weinberger@...il.com> wrote:
> On Fri, Dec 23, 2011 at 10:08 AM, Gaurav Saxena <grvsaxena419@...il.com> wrote:
>> Ok I have seen details of KPROBES, I think it will suit to my
>> requirements, I just wanted to know a few things,
>> Can I use probes to prevent unlink of certain files? Also is
>> CONFIG_KPROBES set to "y" on linux kernels available with distros like
>> ubuntu?
>
> Kprobes allow you to instrument the kernel.
> AFAIK it enabled by most distros.
Can I use probes to return immediately ie. without execution of
original system call. For example I put a entry probe on unlink and
then on the probe return value unlink code is executed or not. Is that
possible ?
Also can I call a userspace function from kernel code? Would that be insecure ?
>
> --
> Thanks,
> //richard



-- 
Thanks and Regards ,
Gaurav
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ