Util-Linux package development
 help / color / mirror / Atom feed
* [PATCH 00/14] pull: chsh, newgrp, and script changes
@ 2014-12-22 11:47 Sami Kerola
  2014-12-22 11:47 ` [PATCH 01/14] chsh: remove function prototypes Sami Kerola
                   ` (14 more replies)
  0 siblings, 15 replies; 17+ messages in thread
From: Sami Kerola @ 2014-12-22 11:47 UTC (permalink / raw)
  To: util-linux; +Cc: Sami Kerola

Hi Karel,

Here are the last change I want to sent before holiday break.

This patch set is primarily about chsh(1).  Changes to newgrp(1) are
modest, and the changes to script(1) are incomplete.  Consider the
script(1) changes as preparation to fixes ahead.  I ACK future
exepectations for script are described in the test file.

$ grep -A1 TODO tests/ts/script/race 
# TODO see comments about script design
# https://github.com/karelzak/util-linux/pull/62

In between eating too much, queen's speech, pulling some crackers, and
other festive activities I might have time to further improve script(1).

Finally, here is an alternative for people who prefer using changes from
remote repository rather then merging from mails.

----------------------------------------------------------------
The following changes since commit bf6c15ed4a3e00ae1f9c18c6d9bbf8589e09a2da:
  chfn: fix compilation without libuser (2014-12-19 15:05:04 +0100)
are available in the git repository at:
  git://github.com/kerolasa/lelux-utiliteetit.git script
for you to fetch changes up to 0b3b58ae5ff95fd9cdea3e2fa45ef02639e8521d:
  script: add struct script_control and remove global variables (2014-12-20 16:03:29 +0000)
----------------------------------------------------------------

Sami Kerola (14):
  chsh: remove function prototypes
  chfn, chsh: share illegal_passwd_chars() function
  chsh: use getline() to support arbitrarily long lines
  chsh: set few variables read-only and rename one of them
  chsh: allow user to set shell to /bin/sh if none is set
  chsh: clean up parse_argv()
  chsh: rewrite function interacting with user to get path to new shell
  chsh: simplify check_shell()
  chsh: fail get_shell_list() check when /etc/shells cannot be opened
  newgrp: simplify if else clauses
  newgrp: move shell determination closer where it is used
  newgrp: set function arguments read-only when possible
  script: remove function prototypes
  script: add struct script_control and remove global variables

 login-utils/Makemodule.am |   4 +-
 login-utils/ch-common.c   |  34 ++
 login-utils/ch-common.h   |   6 +
 login-utils/chfn.c        |  16 +-
 login-utils/chsh.c        | 365 ++++++++++-----------
 login-utils/newgrp.c      |  25 +-
 term-utils/script.c       | 788 +++++++++++++++++++++++-----------------------
 7 files changed, 609 insertions(+), 629 deletions(-)
 create mode 100644 login-utils/ch-common.c
 create mode 100644 login-utils/ch-common.h

-- 
2.2.1


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2015-01-06  9:42 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-22 11:47 [PATCH 00/14] pull: chsh, newgrp, and script changes Sami Kerola
2014-12-22 11:47 ` [PATCH 01/14] chsh: remove function prototypes Sami Kerola
2014-12-22 11:47 ` [PATCH 02/14] chfn, chsh: share illegal_passwd_chars() function Sami Kerola
2014-12-22 11:47 ` [PATCH 03/14] chsh: use getline() to support arbitrarily long lines Sami Kerola
2014-12-22 11:47 ` [PATCH 04/14] chsh: set few variables read-only and rename one of them Sami Kerola
2014-12-22 11:47 ` [PATCH 05/14] chsh: allow user to set shell to /bin/sh if none is set Sami Kerola
2014-12-22 11:47 ` [PATCH 06/14] chsh: clean up parse_argv() Sami Kerola
2014-12-22 11:47 ` [PATCH 07/14] chsh: rewrite function interacting with user to get path to new shell Sami Kerola
2014-12-22 11:47 ` [PATCH 08/14] chsh: simplify check_shell() Sami Kerola
2014-12-22 11:47 ` [PATCH 09/14] chsh: fail get_shell_list() check when /etc/shells cannot be opened Sami Kerola
2014-12-22 11:47 ` [PATCH 10/14] newgrp: simplify if else clauses Sami Kerola
2014-12-22 11:47 ` [PATCH 11/14] newgrp: move shell determination closer where it is used Sami Kerola
2014-12-22 11:47 ` [PATCH 12/14] newgrp: set function arguments read-only when possible Sami Kerola
2014-12-22 11:47 ` [PATCH 13/14] script: remove function prototypes Sami Kerola
2014-12-22 11:47 ` [PATCH 14/14] script: add struct script_control and remove global variables Sami Kerola
2014-12-26 13:58   ` Sami Kerola
2015-01-06  9:42 ` [PATCH 00/14] pull: chsh, newgrp, and script changes Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox