Commit Graph

50 Commits

Author SHA1 Message Date
Konstantin Stepanov 7c19c92fd7 switch effective uid only 2015-07-21 12:55:44 +03:00
Konstantin Stepanov 184bd434e1 fixes 2015-07-21 12:19:45 +03:00
Konstantin Stepanov d52a2bcd8c update mock 2015-07-21 11:48:49 +03:00
Konstantin Stepanov fd73810619 security warnings 2015-07-21 11:43:10 +03:00
Konstantin Stepanov 0cabf243bd add switch user/group functionality 2015-07-21 11:39:32 +03:00
Konstantin Stepanov 6e2e00f287 add functions to set user and group 2015-07-21 11:32:22 +03:00
Konstantin Stepanov f5d3838e75 add methods to get effective user and group info 2015-07-21 11:22:58 +03:00
Konstantin Stepanov 825062139b import other gid/uid functions 2015-07-21 11:07:56 +03:00
Ben S 614ae061c7 Have Travis only use the nightly 2015-06-21 12:54:39 +01:00
Ben S 0ccafadca5 Version bump v0.4.2 2015-06-21 12:49:03 +01:00
Ben S 7cfbbfe1b7 Merge pull request #7 from MrFloya/master
Added missing feature flag and removed obsolete one
2015-06-20 21:19:33 +01:00
Florian Wilkens 35903983ff Added missing feature flag and remove obsolete one 2015-06-20 16:22:59 +02:00
Ben S f98f764742 Merge pull request #6 from mneumann/master
Fix build for DragonFly BSD
2015-06-16 13:52:24 +01:00
Michael Neumann 968fc14738 Fix build for DragonFly BSD 2015-06-16 13:41:54 +02:00
Ben S beab642e5a Merge pull request #5 from MrFloya/fix_get_user_by_name
Fix get_x_by_name functions to use CStrings
2015-05-13 15:10:56 +01:00
Florian Wilkens 3862ae8d06 Fixed _by_name functions to correctly use CStrings and added corresponding tests. 2015-05-13 15:40:38 +02:00
Florian Wilkens 34a4c66da3 Removed unused import warning on linux 2015-05-13 15:12:00 +02:00
Ben S 1c7cdad0ff Have different c_passwd structs for different OSes v0.4.1 2015-05-05 20:16:17 +01:00
Ben S d4234b64c1 Merge pull request #4 from MrFloya/add_home_and_shell
Add home and shell to User struct
2015-05-05 20:01:31 +01:00
Florian Wilkens 5d955e13a5 Added home_dir and shell to User struct 2015-05-04 00:53:24 +02:00
Florian Wilkens 914f5e3983 Fixed struct layout 2015-05-04 00:43:44 +02:00
Ben S 8a9d6f90c9 Start using uid_t and gid_t
They were i32 and u32 before. Or was that the other way around? Anyway, this changes the interface, so I'm bumping the version.
v0.4.0
2015-05-03 12:42:37 +01:00
Ben S b2454eaf20 Add note on beta compatibility (or lack thereof) 2015-05-03 12:40:44 +01:00
Ben S 518a02d84f Get rid of un-needed feature flags 2015-05-03 12:10:42 +01:00
Benjamin Sago 249436c40a Remove Copy impl on internal types 2015-04-03 23:52:15 +02:00