]> granicus.if.org Git - linux-pam/commit
Relevant BUGIDs:
authorTomas Mraz <tm@t8m.info>
Tue, 14 Dec 2010 08:40:40 +0000 (08:40 +0000)
committerTomas Mraz <tm@t8m.info>
Tue, 14 Dec 2010 08:40:40 +0000 (08:40 +0000)
commit19eb6b29412491d272210938259c574bf9728d94
treee58628d1740c60740446f2907b4df140cea917d2
parentda7baa3cd89c1ef0afc99c65e8ebdb0b68a68563
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------
2010-12-14  Tomas Mraz  <tm@t8m.info>

        * modules/pam_limits/pam_limits.c (parse_uid_range): New function
        to parse the range of uids or gids.
        (parse_config_file): Call parse_uid_range() and if uid/gid range
        is identified, setup the limits if the range matches. New parameters
        containing user's uid and primary gid.
        (pam_sm_open_session): Pass the user's uid and primary gid to
        parse_config_file().
        * modules/pam_limits/limits.conf.5.xml: Document the uid/gid ranges.
ChangeLog
modules/pam_limits/limits.conf.5.xml
modules/pam_limits/pam_limits.c