DragonFly BSD
DragonFly commits List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern imgact_shell.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 27 Feb 2005 21:44:52 -0800 (PST)

dillon      2005/02/27 21:44:52 PST

DragonFly src repository

  Modified files:
    sys/kern             imgact_shell.c 
  Log:
  Allow the #! command line to be up to PAGE_SIZE long, rather then
  artificially limiting it to MAXSHELLCMDLEN.  The interpreter name is
  still limited to MAXSHELLCMDLEN.
  
  A \0 is now considered a line terminator.
  
  Correctly report the ENAMETOOLONG case.
  
  Note that FreeBSD (and hence DragonFly) break the #! line into multiple
  argv arguments, which is not what any other UNIX does.  This is likely going
  to be changed in the future but not as of this commit.
  
  Inspired-by: Maxim Sobolev <sobomax@xxxxxxxxxxx> / similar FreeBSD work,
  		and Garance A Drosihn <drosih@xxxxxxx>
  
  Revision  Changes    Path
  1.6       +15 -11    src/sys/kern/imgact_shell.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/imgact_shell.c.diff?r1=1.5&r2=1.6&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]