summaryrefslogtreecommitdiff
path: root/sys/kern/imgact_shell.c
AgeCommit message (Expand)Author
2023-11-26sys: Automated cleanup of cdefs and other formattingWarner Losh
2023-08-16sys: Remove $FreeBSD$: one-line .c patternWarner Losh
2023-05-12spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh
2018-11-29Add helper functions to copy strings into struct image_args.Brooks Davis
2018-03-13Use C99 designated initializers for struct execswEd Maste
2017-11-27sys/kern: adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-11-04ANSI-fy exec_shell_imgact().Pedro F. Giffuni
2014-09-04Allow multiple image activators to run on the same execution by changingSean Bruno
2011-03-06The execution of the shebang script requires putting interpreter path,Konstantin Belousov
2010-09-21Fix exec_imgact_shell()'s handling of two error cases: (1) Previously, ifAlan Cox
2010-07-27Introduce exec_alloc_args(). The objective being to encapsulate theAlan Cox
2010-07-25Change the order in which the file name, arguments, environment, andAlan Cox
2008-08-28Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed threadAttilio Rao
2008-08-26When calculating arguments to the interpreter for the shebang scriptKonstantin Belousov
2005-06-19Fix a panic which could occur parsing #!-lines in a shell-script. If theGarance A Drosehn
2005-06-09Remove the previous parsing-logic for arguments on the '#!'-line of shellGarance A Drosehn
2005-05-28Change the way options are parsed on the `#!'-line of a shell-script. InsteadGarance A Drosehn
2005-02-25o Replace two while {} do loops with more appropriate do {} while loops. ThisMaxim Sobolev
2005-02-25Try harder to not exceed MAXSHELLCMDLEN when parsing first line of shellMaxim Sobolev
2005-01-30Fix build on AMD64 (and probably other arches where size_t != int).Maxim Sobolev
2005-01-29o Split out kernel part of execve(2) syscall into two parts: one thatMaxim Sobolev
2005-01-06/* -> /*- for copyright notices, minor format tweaks as necessaryWarner Losh
2004-10-31Don't treat # as a comment in interpreter specification line.Pawel Jakub Dawidek
2003-06-11Use __FBSDID().David E. O'Brien
2003-01-01Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,Jens Schweikhardt
2002-11-05Remove reference to struct execve_args from struct imgact, whichRobert Watson
2001-11-28Return a more meaningful errno when the length of the interpreterJohn W. De Boskey
2000-04-26 Fix #! script exec under linux emulation. If a script is exec'd from aMatthew Dillon
2000-02-15Allow comments in interpreter specification lines as inMartin Cracauer
1999-08-28$Id$ -> $FreeBSD$Peter Wemm
1999-05-09Fix a couple of warnings and some bitrot in comments.Peter Wemm
1999-01-29 *_execsw static structures cannot be const due to the way they interactMatthew Dillon
1998-10-16*gulp*. Jordan specifically OK'ed this..Peter Wemm
1997-08-02Removed unused #includes.Bruce Evans
1997-04-23Don't clobber user space argv0 memory on shell exec, mainly for vfork()Andrey A. Chernov
1997-02-22Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notPeter Wemm
1997-01-14Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard
1996-08-31Fixed the easy cases of const poisoning in the kernel. Cosmetic.Bruce Evans
1996-04-08Killed sections 3 and 4 of my copyright as I don't agree with it (I believeDavid Greenman
1995-12-02Staticized.Bruce Evans
1995-11-06All:David Greenman
1995-10-08Remove prototype definitions from <sys/systm.h>.Steven Wallace
1995-09-08Fix my copyright.David Greenman
1994-09-25While in the real world, I had a bad case of being swapped out for a lot ofPoul-Henning Kamp
1994-08-18Fix up some sloppy coding practices:Garrett Wollman
1994-08-13Change all #includes to follow the current Berkeley style. Some of theseGarrett Wollman
1994-05-25The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.Rodney W. Grimes
1993-12-20Let the linker keep track of pseudo-devices needing initialization andGarrett Wollman
1993-12-20Rename aout_imgact.c and shell_imgact.c to imgact_* for consistency.Garrett Wollman