lp://qastaging/~vcs-imports-ii/rush/master

Created by snd and last modified
Get this branch:
bzr branch lp://qastaging/~vcs-imports-ii/rush/master

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
VCS Imports II
Project:
Rush
Status:
Development

Import details

Import Status: Suspended

This branch is an import of the HEAD branch of the Git repository at git://git.sv.gnu.org/rush.git.

Last successful import was .

Import started on pear and finished taking 25 seconds — see the log
Import started on pear and finished taking 20 seconds — see the log
Import started on pear and finished taking 20 seconds — see the log
Import started on neumayer and finished taking 50 seconds — see the log

Recent revisions

108. By Sergey Poznyakoff

Reread passwd database after chrooting.

* src/rush.c (run_rule): Reread pw after chrooting.

107. By Sergey Poznyakoff

Set supplementary groups when switching to user privileges.

* src/rush.c (membergid, get_user_groups)
(setowner): New static functions.
(run_rule): Call setowner to switch to user privileges.

106. By Sergey Poznyakoff

Version 1.7.90

105. By Sergey Poznyakoff

Assorted fixes.

* lib/rushdb.c (output_duration): Select the best suitable time
representation for the requested width.
* NEWS: Fix typo.
* lib/librush.h (RUSH_NORETURN): New define.
* src/rush.h: Use RUSH_NORETURN.

104. By Sergey Poznyakoff

Minor fix

* src/socket.c (post_socket_send): Use "a+" file mode. Suggested
by Mats Erik Andersson.

103. By Sergey Poznyakoff

Remove obsolete gnulib modules.

102. By Sergey Poznyakoff

Version 1.7

* NEWS: Update.
* configure.ac: Update.

101. By Sergey Poznyakoff

Allow the use of symbolic names in 'uid' and 'gid'. New command 'newgrp'.

This also undoes commit ccb22a037, which became superfluous with
the advent of these changes.

* src/config.c (parsegid, parseuid): New functions.
(new_rush_rule): Initialize gid to NO_GID.
(parse_cmp_op): Handle != (accidentally sunonymous to !)
(numstrtonum): New function.
(parse_numtest): Take conversion function as 4th argument.
All callers updated.
(uidtonum): New function.
(_parse_uid): Use uidtonum as a conversion function.
(gidtonum): New function.
(_parse_gid): Use gidtonum as a conversion function.
(_parse_newgroup): New function.
(_parse_main_group): Remove.
(toktab): Remove "main-group", add "newgroup" and
"newgrp".
* src/rush.c (groupcmp): Remove princ parameter. All
callers updated.
(test_request): Remove test_request_main_group.
(run_rule): Handle `newgrp' request.
(main): Initialize req.gid to NO_GID.
* src/rush.h (test_type): Remove test_main_group.
(rush_rule)<gid>: New member.
(rush_request)<gid>: New member.
(NO_GID): New constant.

* doc/rush.texi: Update.
* NEWS, configure.ac: Set version 1.6.91

100. By Sergey Poznyakoff

Add new condition: main-group.

* src/config.c (toktab): New condition main-group.
* src/rush.c (groupcmp): New argument `princ' specifies
whether to match only principal group or all the groups
the user is member of.
(test_request_group): Call groupcmp with princ=0.
(test_request_main_group): New test.
(test_request): Add test_request_main_group.
* src/rush.h (test_type): New type test_main_group.
* NEWS, THANKS: Update.

99. By Sergey Poznyakoff

Allow for "include" statements outside of rule context.

* src/config.c (toktab): Remove TOK_RUL from the flags.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.