From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Query regarding kernel modules intercepting system call.
Date: Sat, 8 Jul 2017 18:04:53 +0200 [thread overview]
Message-ID: <20170708160453.GA8020@kroah.com> (raw)
In-Reply-To: <CANoRqomUkMM1i25aYxj3GpmymO8=PpZ3ZYwbwLUSr+a6NYEFgg@mail.gmail.com>
On Sat, Jul 08, 2017 at 09:08:40PM +0530, Ajinkya Surnis wrote:
> The purpose of assignment is to check the authenticity of the user executing
> the system call, and prevent certain users from executing, kind of like certain
> security programs (although I don't exactly know how they work).
Then that's a totally different thing.
Don't hook a syscall for this at all.
There is a better way, and a correct one, but as this is a homework
assignment, and I'm not the one getting credit for the assignment, I'm
not going to spell it out how to do it, sorry. Otherwise you would get
in trouble.
Actually, are you sure you are allowed to ask for help for your
assignment from others in the first place? Most schools have rules
about stuff like this...
greg k-h
next prev parent reply other threads:[~2017-07-08 16:04 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-08 14:08 Query regarding kernel modules intercepting system call Ajinkya Surnis
2017-07-08 14:13 ` Greg KH
2017-07-08 14:23 ` Ajinkya Surnis
2017-07-08 15:20 ` Greg KH
2017-07-08 15:38 ` Ajinkya Surnis
2017-07-08 16:04 ` Greg KH [this message]
2017-07-08 16:08 ` Ajinkya Surnis
2017-07-08 16:14 ` Greg KH
2017-07-08 18:06 ` Aruna Hewapathirane
2017-07-08 18:19 ` Ajinkya Surnis
2017-07-08 19:36 ` Aruna Hewapathirane
2017-07-09 1:06 ` valdis.kletnieks at vt.edu
2017-07-09 10:06 ` Lino Sanfilippo
2017-07-09 10:18 ` Lino Sanfilippo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170708160453.GA8020@kroah.com \
--to=greg@kroah.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).