Program permission during dynamic linking

This is a discussion on Program permission during dynamic linking within the Linux Security forums, part of the System Security and Security Related category; Hello, If a program P with security of user "goo" uses a library (.so file) during running, which ...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-26-2005
binary-nomad@hotmail.com
 
Posts: n/a
Default Program permission during dynamic linking

Hello,
If a program P with security of user "goo" uses a library (.so file)
during running, which has permission "root", what is the privilege of
program P?
Is it goo throughout, root throughout, or goo when its in its own code,
and root when the lib gets invoked?


Thanks.

Reply With Quote
  #2 (permalink)  
Old 12-26-2005
Jim Richardson
 
Posts: n/a
Default Re: Program permission during dynamic linking

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 26 Dec 2005 01:43:11 -0800,
binary-nomad@hotmail.com <binary-nomad@hotmail.com> wrote:
> Hello,
> If a program P with security of user "goo" uses a library (.so file)
> during running, which has permission "root", what is the privilege of
> program P?
> Is it goo throughout, root throughout, or goo when its in its own code,
> and root when the lib gets invoked?
>
>
> Thanks.
>



Assuming no funny business with SUID or SetGUID, programme P runs with
permissions of user goo, the permissions of the library, are not
relevent. The library is just a file that gets loaded by ld.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDr8e4d90bcYOAWPYRAqJrAJ9eTpbQXqVMcAkNHYVmpK v4daq3GQCeN0q2
Hz7PBjJOGsBr7QufKozTYiY=
=Tc2X
-----END PGP SIGNATURE-----

--
Jim Richardson http://www.eskimo.com/~warlock
Don't get mad, get Linux
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:41 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0