From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Sat, 8 Jul 2017 18:14:45 +0200 Subject: Query regarding kernel modules intercepting system call. In-Reply-To: References: <20170708141309.GA23183@kroah.com> <20170708152039.GA16796@kroah.com> <20170708160453.GA8020@kroah.com> Message-ID: <20170708161445.GA25876@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Sat, Jul 08, 2017 at 09:38:52PM +0530, Ajinkya Surnis wrote: > Actually, this is not a college assignment. I'm a professional software > engineer who is completely new to kernel programming. > I recently gave an interview to one cloud security firm. The interviewer gave > me this particular assignment, since this kind of functionality is needed in > their software. > Now I'm aware that the approach I have (syscall interception) is wrong. > But I also need to find out alternate mechanism to achieve my goal. > I searched really hard, but got nothing. So it's a programming test to get a job? That's worse than trying to cheat on an exam, as it would mean that I pass the test, not you :( good luck! greg k-h