aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-05-14wdd: fix sbrk & mem* warningsHEADmasterroot1-0/+2
2009-05-01wdd: Fix warnings when builded with gcc-4.3 and without dietBertrand Jacquin1-1/+1
(FORTIFY_SOURCE)
2009-05-01wdd: fix warningsBertrand Jacquin1-2/+4
2009-05-01wdd: ignore binaryBertrand Jacquin1-0/+1
2009-05-01wdd: add a conditional sstrip and add more warningsBertrand Jacquin1-2/+2
2009-05-01remount: sstrip is not available everywhereBertrand Jacquin1-1/+1
2009-05-01flx: Fix signedness warningsBertrand Jacquin4-15/+15
2009-05-01flx: Fix gcc-4.3 'declared with attribute warn_unused_result'Bertrand Jacquin1-1/+1
2009-05-01flx: fix implicit declaration of function 'exit'Bertrand Jacquin5-0/+6
2009-05-01flx: ignore *.o and flxBertrand Jacquin1-0/+2
2009-03-16[RELEASE] released flxutils-0.1.33-flx0.1Willy Tarreau3-1/+14
- flxutils-0.1.33-flx0.1 - pcidev: add support for matching multiple classes - pcidev: use modprobe $list and not modprobe on each element - pcidev: modprobe in kernel 2.4 does not support module lists
2009-03-16* pcidev: modprobe in kernel 2.4 does not support module listsWilly Tarreau1-4/+14
2008-12-10* pcidev: use modprobe $list and not modprobe on each elementWilly Tarreau1-6/+5
modprobe knows how to load a module among a list, we must not call it on each element otherwise it causes errors for the second ones which fail.
2008-12-10pcidev: add support for matching multiple classesWilly Tarreau1-21/+33
It is now possible to match against multiple classes, which is handy to load network modules. For instance, to load the forcedeth and other modules, one would do : # pcidev -m -v -c 0x068000/0xfff000 -c 0x020000/0xff0000
2008-11-17[RELEASE] released flxutils-0.1.32-flx0.2Willy Tarreau3-1/+10
- released flxutils-0.1.32-flx0.2 - pcidev: add class-filtering support, speedups, fixees, small cleanups
2008-11-17pcidev: add class-filtering support, small cleanupsWilly Tarreau1-4/+25
It is now possible to limit the class of devices we want to look up. By passing "-c 0x020000/0xffff00" for instance, we can focus on Ethernet devices only. Also, a nice improvement is that when listing only new modules (-n), the code tries to avoid duplicate names when they are consecutive.
2008-11-17pcidev: speedups and fixes, update to version 0.3Willy Tarreau2-22/+23
pcidev needed a lifting to speed up a bit and to avoid reporting PCI hotplug bridges drivers for any bridge device.
2008-09-03[RELEASE] flxutils-0.1.32-flx0.1Willy Tarreau3-1/+12
- fixed mii-diag build with recent gcc - wdd: support -c and -f
2008-09-03mii-diag: fix build failure with recent gcc in tulip-diag.cWilly Tarreau1-4/+4
2008-09-03wdd: add checks for changes on a status fileWilly Tarreau2-3/+67
Options -c and -f permit to check a file for regular changes. If the file does not get touched within -c seconds, the daemon fails and exits.
2008-02-06[RELEASE] flxutils-0.1.31-flx0.1v0.1.31Willy Tarreau3-1/+38
- build: remove extraneous '-Os' in diet call - init: add the "br" command to branch without returning - init: add new commands "cd", "cr" and "sw" - init: add checks for the kernel's cmdline - init: fixed variable checking out of cmdline - init: fixed small bug in variable name parser causing infinite loops - init: add support for ${var+val} construct - init: added the 'eq' command to compare strings - init: disable omit-leaf-frame-pointer - init: implement the "cp" command - init: small cleanup, removed one write() - init: implement the "ca" command to cat a file
2007-12-16init: implement the "ca" command to cat a fileWilly Tarreau1-5/+15
2007-12-16init: small cleanup, removed one write()Willy Tarreau1-5/+2
Now using the ret_msg variable to output some error messages.
2007-12-16init: implement the "cp" commandWilly Tarreau1-4/+52
"cp" can be used to copy data or devices. Also, an error is now reported when args are missing for a command or when a command is not understood.
2007-12-16init: disable omit-leaf-frame-pointerWilly Tarreau1-1/+1
We can gain about 100 bytes using this.
2007-12-16init: added the 'eq' command to compare stringsWilly Tarreau1-1/+9
EQ is useful to compare strings and act accordingly. It is different from "te" in that it does not specifically check environment variables for a fixed string, but has access to environment variables as well as command line parameters. Example : eq ${quiet+set} "" &{ ec "done." }
2007-12-16init: add support for ${var+val} constructWilly Tarreau1-9/+16
The replacement operator is useful in a number of situations, for instance to simply check for valueless arguments and recopy their names like this : mt ${root-/dev/ram0} /mnt/root ${ro+ro} ${rw+rw}
2007-12-16init: fixed small bug in variable name parser causing infinite loopsWilly Tarreau1-2/+3
2007-12-16init: fixed variable checking out of cmdlineWilly Tarreau1-13/+12
The cmdline parser was designed to be used only once! Fixing it also reduced the executable size by 32 bytes.
2007-12-16init: add checks for the kernel's cmdlineWilly Tarreau1-6/+7
It is sometimes necessary to have access to the root= or init= kernel variables and those are not passed to the environment. Now when referencing a variable, init first checks for an environment variable then falls back to /proc/cmdline. This will help for instance in such cases : mt ${root} /mnt/root ${rootfstype-ext2} rw in ${init-/sbin/init}
2007-12-16init: add new commands "cd", "cr" and "sw"Willy Tarreau1-1/+34
cd <dir> does chdir(dir) cr <dir> does only chroot(dir) sw <dir> does chroot(dir), chdir(/) and reopens the console
2007-12-16init: add the "br" command to branch without returningWilly Tarreau1-7/+14
Many scripts are written with a terminating "in /bin/sh", but this causes some trouble because /bin/sh is passed init's args which are invalid for sh. A new "br" command (for "branch") works exactly like "ex" except that it does not return in case of success. It simply does a pure execve(). It also supports arguments if necessary. So as of now, it is recommended that preinit scripts finish with "br /bin/sh".
2007-12-16build: remove extraneous '-Os' in diet callWilly Tarreau1-1/+1
This extraneous '-Os' in the call to the "diet" utility lead to less effective optimizations than the ones from "pkg". About 200 bytes have been removed from "init" with this change.
2007-12-16[RELEASE] flxutils-0.1.30-flx0.3Willy Tarreau2-1/+6
Fixed controlling ttys in init.
2007-09-25init: fix controlling tty for execve()Willy Tarreau1-5/+40
The forked processes used to set up a controlling tty. But this did not properly work because they had to switch from a different session than the parent's, leading to lots of output being lost when the process exited and the session terminated. The solution was to use 2 processes, one to perform the work, and the other one to maintain the session the time needed for the chars to reach the tty.
2007-09-25[RELEASE] flxutils-0.1.30v0.1.30Willy Tarreau14-1/+18
The version was bumped to flxutils-0.1.30-flx0.2 due to the fact that it remained for a long time at this version. Some binary files which were mistakenly versionned have been removed.
2007-09-25build.cfg: create .flxpkg/compiled if neededWilly Tarreau1-0/+3
2007-09-25build.cfg: ifenslave upgraded to 1.1.0, symlink replaced.Willy Tarreau1-1/+2
2007-09-25ifenslave: fixed build under the toolchain, upgraded to ifenslave-1.1.0Willy Tarreau2-11/+1114
2007-09-24init: provide support for environment variables in the scriptsWilly Tarreau2-9/+137
It is now possible to use environment variables within scripts. Two forms are supported : ${variable} is replaced with the variables's value or an empty string if the variable is not set ${variable-default} is replaced with the variable's value, or the "default" string if the variable is not set. The variables are not evaluated within quotes, but quotes can be temporarily closed to reach the variable. For instance : ec "my TERM is ${TERM}" will output "my TERM is ${TERM}" ec "my TERM is "${TERM} will output "my TERM is linux"
2007-09-24init: set controlling TTY when executing programsWilly Tarreau3-11/+12
With this add-on, Ctrl-C works for any program executed from init.
2006-07-26build.cfg: added the tar_src command.Willy Tarreau1-0/+5
2006-07-26* flx-0.7.2 : fix hexadecimal character escape in signaturesWilly Tarreau2-5/+5
Hexadecimal character escape was erroneously computed on signed chars which lead to invalid hex dumps for files names containing characters >=128.
2006-07-26* flxextract-0.0.4 : fixed a few problems and now informs about missing ↵Willy Tarreau1-5/+12
files and packages
2006-07-26[CLEANUP] added .flxpkg/Version and removed binary filesWilly Tarreau1-0/+1
2006-07-26[MEDIUM] - pkg-0.7.1 : * newpkg: don't look for newname in .. anymore, and ↵Willy Tarreau18-611/+21760
select only the packages containing a build.cfg * newpkg: do not propose a list of multiple identical new names * release: also identify non-shell text scripts. * release: put only package's basename in changelogs.
2006-07-26[RELEASE] flxutils-0.1.29v0.1.29Willy Tarreau29-23/+3087
2006-07-26[RELEASE] flxutils-0.1.28v0.1.28Willy Tarreau10-30/+69
2006-07-26[RELEASE] flxutils-0.1.27v0.1.27Willy Tarreau9-13/+275
2006-07-26[RELEASE] flxutils-0.1.26v0.1.26Willy Tarreau4-3/+10
2006-07-26[RELEASE] flxutils-0.1.25v0.1.25Willy Tarreau2-1/+6
2006-07-26[RELEASE] flxutils-0.1.24v0.1.24Willy Tarreau11-22/+101
2006-07-26[RELEASE] flxutils-0.1.23v0.1.23Willy Tarreau7-9/+198
2006-07-26[RELEASE] flxutils-0.1.22v0.1.22Willy Tarreau11-39/+747
2006-07-26[RELEASE] flxutils-0.1.21v0.1.21Willy Tarreau3-4/+17
2006-07-26[RELEASE] flxutils-0.1.20v0.1.20Willy Tarreau4-1805/+7
2006-07-26[RELEASE] flxutils-0.1.19v0.1.19Willy Tarreau7-28/+3626
2006-07-26[RELEASE] flxutils-0.1.18v0.1.18Willy Tarreau8-1461/+2511
2006-07-26[RELEASE] flxutils-0.1.17v0.1.17Willy Tarreau2-257/+109
2006-07-26[RELEASE] flxutils-0.1.16v0.1.16Willy Tarreau3-116/+237
2006-07-26[RELEASE] flxutils-0.1.15v0.1.15Willy Tarreau1-2/+1
2006-07-26[RELEASE] flxutils-0.1.14v0.1.14Willy Tarreau1-27/+22
2006-07-26[RELEASE] flxutils-0.1.13v0.1.13Willy Tarreau1-17/+13
2006-07-26[RELEASE] flxutils-0.1.12.1v0.1.12.1Willy Tarreau1-1/+1
2006-07-26[RELEASE] flxutils-0.1.12v0.1.12Willy Tarreau6-8/+18
2006-07-26[RELEASE] flxutils-0.1.11.3v0.1.11.3Willy Tarreau3-2/+1241
2006-07-26[RELEASE] flxutils-0.1.11.2v0.1.11.2Willy Tarreau2-28/+166
2006-07-26[RELEASE] flxutils-0.1.11.1v0.1.11.1Willy Tarreau6-617/+2073
2006-07-26[RELEASE] flxutils-0.1.11v0.1.11Willy Tarreau5-16/+749
2006-07-26[RELEASE] flxutils-0.1.10.1v0.1.10.1Willy Tarreau5-5/+10
2006-07-26[RELEASE] flxutils-0.1.9v0.1.9Willy Tarreau3-64/+60
2006-07-26[RELEASE] flxutils-0.1.8v0.1.8Willy Tarreau1-1/+1
2006-07-26[RELEASE] flxutils-0.1.7v0.1.7Willy Tarreau1-1/+2
2006-07-26[RELEASE] flxutils-0.1.6v0.1.6Willy Tarreau3-0/+451
2006-07-26[RELEASE] flxutils-0.1.5v0.1.5Willy Tarreau1-20/+69
2006-07-26[RELEASE] flxutils-0.1.4.2v0.1.4.2Willy Tarreau83-0/+12387
2006-07-26Initial commitWilly Tarreau0-0/+0