cvs commit: src/sys/kern imgact_shell.c

看板DFBSD_commit作者時間21年前 (2005/02/28 14:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
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@FreeBSD.org> / similar FreeBSD work, and Garance A Drosihn <drosih@rpi.edu> 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
文章代碼(AID): #128hEe00 (DFBSD_commit)
文章代碼(AID): #128hEe00 (DFBSD_commit)