Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | removed the data type. | Nikos Mavrogiannopoulos | 2010-07-26 | 1 | -303/+0 |
| | |||||
* | ncr_int.h -> ncr-int.h | Nikos Mavrogiannopoulos | 2010-07-25 | 1 | -1/+1 |
| | |||||
* | Added a support for reading session data directly from userspace. | Nikos Mavrogiannopoulos | 2010-07-24 | 1 | -0/+2 |
| | |||||
* | Append_flag was removed. | Nikos Mavrogiannopoulos | 2010-07-23 | 1 | -27/+6 |
| | |||||
* | Revert "initial support for userspace data." | Nikos Mavrogiannopoulos | 2010-07-23 | 1 | -178/+47 |
| | | | | This reverts commit e7828004e40592c8cffc9235f72440c802905e16. | ||||
* | Revert "Modified NCR-USER API to "simplify" and allow setting of size of ↵ | Nikos Mavrogiannopoulos | 2010-07-23 | 1 | -148/+40 |
| | | | | | | data structure without special system call." This reverts commit 5689c9734223fb349bba526d620823a803c3b67e. | ||||
* | Modified NCR-USER API to "simplify" and allow setting of size of data ↵ | Nikos Mavrogiannopoulos | 2010-07-21 | 1 | -40/+148 |
| | | | | structure without special system call. | ||||
* | initial support for userspace data. | Nikos Mavrogiannopoulos | 2010-07-21 | 1 | -47/+178 |
| | |||||
* | Fix copy_{from,to}_user error handling | Miloslav Trmač | 2010-07-19 | 1 | -19/+19 |
| | | | | | | These functions return a positive number, not an error code, on failure. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
* | Free data on error its descriptor to user-space | Miloslav Trmač | 2010-07-19 | 1 | -5/+17 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
* | Fix a race in ncr_data_set. | Miloslav Trmač | 2010-07-19 | 1 | -3/+6 |
| | | | | | | | | | | | More than one thread could could pass the if (... > max_data_size) test, leading to multiple executions of "data->data_size += get.data_size", resulting in data->data_size > data->max_data_size. This is a minimal fix that ensures kernel data structure consistency, but the behavior won't look atomic from user space (two threads appending N and M bytes could result in N, M, or N+M more bytes). It relies on the assumption that reads and writes of size_t are atomic. | ||||
* | Describe why there is no integer overflow. | Miloslav Trmač | 2010-07-19 | 1 | -0/+4 |
| | |||||
* | Fix error paths in ncr_data_init | Miloslav Trmač | 2010-07-19 | 1 | -6/+13 |
| | |||||
* | Several fixes related to checks with copy_from/to_user. | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -1/+8 |
| | |||||
* | Added checking in copy_from_user and copy_to_user. | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -18/+47 |
| | |||||
* | Use current_euid() and task_pid_nr(current) to get identifiers for owners ↵ | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -5/+6 |
| | | | | (for imposed limits). | ||||
* | Descriptors start at 1. | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -1/+1 |
| | |||||
* | Added small subsystem for storage (no storage occuring yet). | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -11/+9 |
| | |||||
* | Added deinitialization of limits on module unloading. Better cleanup of ↵ | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -2/+7 |
| | | | | unused data. | ||||
* | Added ncr_key_import/export, generate and info. Those work with secret keys. | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -5/+2 |
| | | | | Added test program for those. | ||||
* | Added some initial for of key. Added helper functions to enforce per user ↵ | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -36/+39 |
| | | | | and per process limits. | ||||
* | Separated data functionality to ncr-data.c. | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -0/+256 |