Commit Graph

109 Commits

Author SHA1 Message Date
Benjamin Sago d8db0ee8d2 Merge pull request #16 from sdemos/setegid-before-seteuid
set effective gid before setting effective uid in `switch_user_group`
2017-09-22 12:52:23 +01:00
Stephen Demos 7c6ed6c340 set effective gid before setting effective uid in switch_user_group 2017-09-21 13:54:02 -07:00
Benjamin Sago cc8ffdd304 Version bump 2017-08-04 03:11:32 +01:00
Benjamin Sago fd8992ed87 Remove mut from traits
The compiler complained that this would become a hard error in a future release (see rust-lang#35203)
2017-08-04 03:11:26 +01:00
Benjamin Sago 94de55c0f7 Merge pull request #13 from wezm/openbsd
Add support for OpenBSD
2017-08-04 03:07:38 +01:00
Wesley Moore ebdb20dcbb Add support for OpenBSD 2017-07-18 08:03:48 +10:00
Ben S b51a138d10 Version and docs link bump 2016-09-25 16:14:12 +01:00
Ben S 439f3c4cce 0.5.1: Missing method for mock groups v0.5.1 2016-02-10 15:19:23 +00:00
Ben S 901b1ccee7 Bump to version 0.5.0 v0.5.0 2016-01-29 14:23:11 +00:00
Ben S ac85727588 Merge branch 'polachok-all-users' 2016-01-29 13:52:20 +00:00
Ben S 0d9a3911fd Add docs and fix warnings 2016-01-29 13:52:13 +00:00
Ben S 941068b99c Add a full UsersCache constructor 2016-01-29 13:30:48 +00:00
Ben S 5c52889e09 Merge branch 'all-users' of https://github.com/polachok/rust-users into polachok-all-users
# Conflicts:
#	src/lib.rs

I put the users iterator functionality into the 'base' module, where it belongs now (but didn't when the code was written)
2016-01-29 11:20:07 +00:00
Ben S 3e1a0b50d7 Add extra Debug info to alternate fmts 2016-01-29 10:38:16 +00:00
Ben S 32d340e128 Add Debug impls 2016-01-28 17:15:27 +00:00
Ben S 54d53c82b2 Merge branch 'graft' 2016-01-28 16:07:01 +00:00
Ben S d65d2180d9 Add change and expire accessors 2016-01-28 16:06:54 +00:00
Ben S d602c1a6d5 Update the readme's examples to match 2016-01-28 15:56:55 +00:00
Ben S e1f906d97c Add missing lints and documentation 2016-01-28 15:52:53 +00:00
Ben S cb2919660b Remove unused imports 2016-01-28 15:40:53 +00:00
Ben S b5c4d07f6b Replace group fields with accessors, too
This does the same thing: it hides the fact that a group's name is actually within an Arc.
2016-01-28 15:39:04 +00:00
Ben S b6ef295697 Make group members OS-dependent 2016-01-28 15:27:36 +00:00
Ben S fefddc4a76 Replace User fields with getters
The name() accessor is able to hide the fact that the user's actual name string is hidden in an Arc. (The Arc is still available, since it's needed for caching)
2016-01-28 15:04:22 +00:00
Ben S 305b37e8c2 Ignore breaking test on Linux 2016-01-28 14:13:25 +00:00
Ben S 107e0aee7b Add example that makes sure it works everywhere 2016-01-28 14:07:31 +00:00