Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Nov 2003 15:54:55 -0800 (PST)
From:      David Xu <davidxu@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/su su.c
Message-ID:  <200311032354.hA3Nsuvi015437@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
davidxu     2003/11/03 15:54:55 PST

  FreeBSD src repository

  Modified files:
    usr.bin/su           su.c 
  Log:
  It seems when su executes in a shell scripts, there is a timing race,
  sometimes, su will receive a SIGTTOU when parent su tries to set child
  su's process group as foreground group, and su will be stopped unexpectly,
  ignoring SIGTTOU fixes the problem.
  
  Noticed by: fjoe
  
  Revision  Changes    Path
  1.70      +2 -0      src/usr.bin/su/su.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311032354.hA3Nsuvi015437>