summaryrefslogtreecommitdiffstats
path: root/ncr-limits.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'bugfixes'Miloslav Trmač2010-08-051-0/+1
|\
| * Fix build with recent kernelsJan Chadima2010-08-051-0/+1
| |
* | Merge branch 'master' into replace-listsMiloslav Trmač2010-07-301-1/+1
|\| | | | | | | | | | | | | Conflicts: ncr-int.h ncr-key.c ncr.c
| * Fix kmalloc return value checkMiloslav Trmač2010-07-281-1/+1
| |
* | Stop looking in the hash table after the first match.Miloslav Trmač2010-07-281-1/+7
| | | | | | | | | | There should be only one entry anyway. This reduces the average lookup time when there are hash collisions roughly by half.
* | Use hash tables to speed up limit lookupMiloslav Trmač2010-07-281-45/+80
| |
* | Store all types of limits together.Miloslav Trmač2010-07-281-18/+24
|/ | | | | | A process/user that uses one type of crypto primitive is likely to use other types as well. This saves memory and simplifies lookup in the common case.
* Corrected copyright notices.Nikos Mavrogiannopoulos2010-07-271-1/+3
|
* relicensed under GNU GPLv2.Nikos Mavrogiannopoulos2010-07-271-8/+9
|
* removed the data type.Nikos Mavrogiannopoulos2010-07-261-2/+0
|
* ncr_int.h -> ncr-int.hNikos Mavrogiannopoulos2010-07-251-1/+1
|
* sparse: add missing 'static'Miloslav Trmač2010-07-191-2/+2
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Use the supplied pid even if creating a new recordMiloslav Trmač2010-07-191-1/+1
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Fix error paths in ncr_limits_add_and_checkMiloslav Trmač2010-07-191-2/+17
|
* Use current_euid() and task_pid_nr(current) to get identifiers for owners ↵Nikos Mavrogiannopoulos2010-06-171-25/+7
| | | | (for imposed limits).
* Added small subsystem for storage (no storage occuring yet).Nikos Mavrogiannopoulos2010-06-171-1/+1
|
* Added deinitialization of limits on module unloading. Better cleanup of ↵Nikos Mavrogiannopoulos2010-06-171-0/+21
| | | | unused data.
* Compilation and initialization fixes.Nikos Mavrogiannopoulos2010-06-171-3/+8
|
* Added some initial for of key. Added helper functions to enforce per user ↵Nikos Mavrogiannopoulos2010-06-171-0/+176
and per process limits.