From: Emmanuel Fleury <fleury@cs.aau.dk>
To: Linux Kernel ML <linux-kernel@vger.kernel.org>
Subject: Re: adding new lsm hooks
Date: Thu, 15 Sep 2005 17:12:28 +0200 [thread overview]
Message-ID: <43298F5C.10900@cs.aau.dk> (raw)
In-Reply-To: <20050915145713.90231.qmail@web30704.mail.mud.yahoo.com>
umesh chandak wrote:
> respected sir ,
Hum, you should skip this or my ego will blow up.
> Basically i want to add hooks at mac layer .But for
> time being as a practice i want to add new hooks of
> any type for playing purpose .so can you tell me a
> procedure or appropriate link
Sorry, but I don't see your point here...
You want to be able to restrict the access to a network card on the
basis of the MAC address ?
But, why don't you consider using the socket_create (and more generally,
the socket_* family) in place of adding new hooks ?
The point of a hook is to insert check-points to prevent people to
access features/data on the system. I hardly see the mac layer as a
feature/data by itself as it is part of "can I access network or not ?".
I might as well have missed your point, respected Sir (may I call you
respected Sir ?). :)
Regards
--
Emmanuel Fleury
Elegance is not optional.
-- Richard O'Keefe
next prev parent reply other threads:[~2005-09-15 15:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-15 14:34 adding new lsm hooks umesh chandak
2005-09-15 14:37 ` Emmanuel Fleury
2005-09-15 14:57 ` umesh chandak
2005-09-15 15:12 ` Emmanuel Fleury [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-09-19 15:35 umesh chandak
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=43298F5C.10900@cs.aau.dk \
--to=fleury@cs.aau.dk \
--cc=linux-kernel@vger.kernel.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