public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* adding new lsm hooks
@ 2005-09-15 14:34 umesh chandak
  2005-09-15 14:37 ` Emmanuel Fleury
  0 siblings, 1 reply; 5+ messages in thread
From: umesh chandak @ 2005-09-15 14:34 UTC (permalink / raw)
  To: linux-kernel

hi 
    i want to add new lsm hooks in linux kernel.
Can anybody tell me ,what steps should i follow to do
this. or a appropriate link .
                                  thank you!!!!!!!!!


		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: adding new lsm hooks
  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
  0 siblings, 1 reply; 5+ messages in thread
From: Emmanuel Fleury @ 2005-09-15 14:37 UTC (permalink / raw)
  To: Linux Kernel ML

umesh chandak wrote:
> hi 
>     i want to add new lsm hooks in linux kernel.
> Can anybody tell me ,what steps should i follow to do
> this. or a appropriate link .

What kind of hooks ?

I've been idling around the LSM hooks for quite a while and
I never had the need to add any... So, I'm quite puzzled to
know what kind of hooks do you need. :)

Regards
-- 
Emmanuel Fleury

Assistant Professor          | Office: B1-201
Computer Science Department, | Phone:  +45 96 35 72 23
Aalborg University,          | Mobile: +45 26 22 98 03
Fredriks Bajersvej 7E,       | E-mail: fleury@cs.aau.dk
9220 Aalborg East, Denmark   | URL: www.cs.aau.dk/~fleury

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: adding new lsm hooks
  2005-09-15 14:37 ` Emmanuel Fleury
@ 2005-09-15 14:57   ` umesh chandak
  2005-09-15 15:12     ` Emmanuel Fleury
  0 siblings, 1 reply; 5+ messages in thread
From: umesh chandak @ 2005-09-15 14:57 UTC (permalink / raw)
  To: Emmanuel Fleury; +Cc: linux-kernel

respected sir ,
          Thank you for reply.
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
                                                      

                                          
                 thank you !!!!!!                     
   

--- Emmanuel Fleury <fleury@cs.aau.dk> wrote:

> umesh chandak wrote:
> > hi 
> >     i want to add new lsm hooks in linux kernel.
> > Can anybody tell me ,what steps should i follow to
> do
> > this. or a appropriate link .
> 
> What kind of hooks ?
> 
> I've been idling around the LSM hooks for quite a
> while and
> I never had the need to add any... So, I'm quite
> puzzled to
> know what kind of hooks do you need. :)
> 
> Regards
> -- 
> Emmanuel Fleury
> 
> Assistant Professor          | Office: B1-201
> Computer Science Department, | Phone:  +45 96 35 72
> 23
> Aalborg University,          | Mobile: +45 26 22 98
> 03
> Fredriks Bajersvej 7E,       | E-mail:
> fleury@cs.aau.dk
> 9220 Aalborg East, Denmark   | URL:
> www.cs.aau.dk/~fleury
> -
> To unsubscribe from this list: send the line
> "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at 
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 



		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: adding new lsm hooks
  2005-09-15 14:57   ` umesh chandak
@ 2005-09-15 15:12     ` Emmanuel Fleury
  0 siblings, 0 replies; 5+ messages in thread
From: Emmanuel Fleury @ 2005-09-15 15:12 UTC (permalink / raw)
  To: Linux Kernel ML

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* adding  new lsm hooks
@ 2005-09-19 15:35 umesh chandak
  0 siblings, 0 replies; 5+ messages in thread
From: umesh chandak @ 2005-09-19 15:35 UTC (permalink / raw)
  To: linux-kernel

hi ,

In wireless network ,most of the attacks occurs at mac
layer .so i think ,we should detect this attack at mac
layer itself.so I think we can add lsm hooks at mac
layer
in linux for wireless networks.so i want to add new
hooks in it  . therefore i want to know the procedure
of adding new hooks,which file should i change,which
functions should i write and like that .Hooks may be
of any type for time being .
                help me out.
                                        bye
  


		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-09-19 15:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2005-09-19 15:35 umesh chandak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox