Bernhard Reutner-Fischer
13436ea0dd
- improved strrstr impl from vda with testcases from Tito and vda
2008-06-17 12:11:34 +00:00
Bernhard Reutner-Fischer
b6926109b7
- remove depmod from TODO, it was recently added.
...
Small touch up while at it
2008-06-17 07:52:43 +00:00
Bernhard Reutner-Fischer
f54a088429
- fix copy'n paste error.
...
thanks, vda! :)
2008-06-15 19:02:31 +00:00
Bernhard Reutner-Fischer
9de4622055
- make the first arg of the filter function passed to rtnl_dump_filter constant
...
to match normal iproute. No obj-code changes.
2008-06-12 15:54:49 +00:00
Bernhard Reutner-Fischer
797c96d8ce
- fix compilation on standard-conforming compilers
2008-06-06 10:31:39 +00:00
Bernhard Reutner-Fischer
593f8baeb0
- fix copy'n paste error for the release date
2008-06-06 08:40:28 +00:00
Bernhard Reutner-Fischer
f0d6068086
- The conffiles control file isn't required in Debian packages, so don't
...
error out if it's missing. (Peter Korsgaard)
2008-06-05 12:18:42 +00:00
Bernhard Reutner-Fischer
6075b2aee0
- add FIXME. Perhaps somebody is interrested in looking into this one.
...
We would try to be clever and compare the *data instead of the *elt.
Somethink like this might be of more general use:
/* Unlink arbitrary element from the list that contains data */
void llist_unlink_data(llist_t **head, void *data)
{
llist_t *elt;
for (elt = *head; elt; elt = elt->link) {
if (elt->data == data) {
llist_unlink(elt);
return;
}
}
}
2008-06-02 19:23:47 +00:00
Bernhard Reutner-Fischer
c2741e1f72
- add alias support
2008-06-02 18:59:16 +00:00
Bernhard Reutner-Fischer
ef729dd90c
- revert revision 22183 since it breaks -b /abs /abs/path/to/mod.ko
2008-06-02 13:40:13 +00:00
Bernhard Reutner-Fischer
d42816763f
- just chdir to the basedir (-30b).
2008-06-02 13:34:36 +00:00
Bernhard Reutner-Fischer
beac1bd58e
- optional fancy pruning-mode for depmod
2008-06-02 13:28:47 +00:00
Bernhard Reutner-Fischer
9af7aba579
- pm_states[PM_SUSPEND_MAX] suggests to support "standby" and not "suspend"
...
Thanks to Paulius Zaleckas for mentioning this.
2008-06-02 11:01:40 +00:00
Bernhard Reutner-Fischer
62d8503589
- use ut_user rather than ut_name (Cristian Ionescu-Idbohrn)
...
- use ut_tv.tv_sec rather than ut_time (me)
- shrink halt a little bit (me):
halt_main 464 433 -31
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-31) Total: -31 bytes
2008-06-01 10:10:22 +00:00
Bernhard Reutner-Fischer
e0fd13e901
- shrink modprobe a little bit (~-40 bytes). ACKed by Yann.
2008-05-31 18:50:17 +00:00
Bernhard Reutner-Fischer
f9a0784144
- add FIXME to use hasmntopt()
2008-05-30 10:44:37 +00:00
Bernhard Reutner-Fischer
db508e3b82
- fix overflow; improve documentation while at it
2008-05-28 15:57:31 +00:00
Bernhard Reutner-Fischer
634b022108
- misc. improvements and shrinkage
2008-05-28 14:20:20 +00:00
Bernhard Reutner-Fischer
17282292c2
- add strrchr
2008-05-28 14:19:27 +00:00
Bernhard Reutner-Fischer
10be1a787f
- move depmod shell script to examples/
2008-05-28 11:21:20 +00:00
Bernhard Reutner-Fischer
c21d9c7290
- the moddir_base is supposed to be omitted frmo the .dep file
...
- other tweaks while at it
2008-05-28 10:35:51 +00:00
Bernhard Reutner-Fischer
1510216a55
- Spaghetti alert. Fix clash with ancient fwd-decl. This is an unfortunate
...
combination of linux not providing a useable linux/module.h to userspace and
mixing legacy-cruft with the current stuff in one insmod.c.
2008-05-27 13:27:18 +00:00
Bernhard Reutner-Fischer
55fb9da5b8
- remove duplicate helptext of dhcprelay and improve it
2008-05-27 12:42:39 +00:00
Bernhard Reutner-Fischer
b85fb693c1
- Add config option for DEFAULT_DEPMOD_FILE and DEFAULT_DEPMOD_FILE.
...
No obj-code changes.
2008-05-27 10:55:34 +00:00
Bernhard Reutner-Fischer
4fec346966
- use (uC)libc functions. Saves a dozen bytes.
2008-05-27 10:13:54 +00:00
Bernhard Reutner-Fischer
9cf0f62b15
vda, xmalloc'ing can use *alot* of RAM. Don't forget that there are
...
modules out there that are half a megabyte! mmap()ing is way nicer
for small mem boxes.
2008-05-27 09:06:05 +00:00
Bernhard Reutner-Fischer
9474830006
- improve help-text
2008-05-27 08:41:32 +00:00
Bernhard Reutner-Fischer
1ea2568469
- improve option-handling a bit
2008-05-26 21:33:05 +00:00
Bernhard Reutner-Fischer
6bb55cfb99
- add basic option-handling (+220b). Untested
2008-05-26 17:04:01 +00:00
Bernhard Reutner-Fischer
cf18010ca9
- use mmap instead of allocating hundreds of megabytes of RAM. +39b
2008-05-26 15:12:01 +00:00
Bernhard Reutner-Fischer
dc5d7fec35
- remove some bloat -28b: now approx. 501b
2008-05-26 13:30:41 +00:00
Bernhard Reutner-Fischer
423465cd5e
- switch to FILE base writer and remove now unneeded stuff. -50b
2008-05-26 12:19:35 +00:00
Bernhard Reutner-Fischer
55e547eb6f
- add simple first-draft unoptimized depmod just to proove Vladimir Dronnikov wrong
...
text data bss dec hex filename
569 0 0 569 239 modutils/depmod.o
2008-05-26 12:01:49 +00:00
Bernhard Reutner-Fischer
cf575ca856
- optionally pass additional flags down to nm
2008-05-23 12:53:18 +00:00
Bernhard Reutner-Fischer
61082ec1cc
- not sure but i may have had the shutdown-time wrong and no records to verify
2008-05-22 22:05:55 +00:00
Bernhard Reutner-Fischer
69d5ba2f95
- untangle the implementation of the small and huge last applets
2008-05-22 21:56:26 +00:00
Bernhard Reutner-Fischer
7bd8d8fd26
- make Christian happy
2008-05-21 21:15:37 +00:00
Bernhard Reutner-Fischer
49bdf28c32
- skip empty lines and archive members
2008-05-21 10:32:39 +00:00
Bernhard Reutner-Fischer
0953336951
- Rob sais that he rewrote it, so reinstate the GPLv2-only boilerplate.
2008-05-20 08:27:26 +00:00
Bernhard Reutner-Fischer
f02efd11c9
- improve readability
2008-05-19 10:28:32 +00:00
Bernhard Reutner-Fischer
5e25ddb7d3
- use STD*_FILENO some more. No object-code changes
2008-05-19 09:48:17 +00:00
Bernhard Reutner-Fischer
636a1f85e8
- use EXIT_{SUCCESS,FAILURE}. No object-code changes
2008-05-19 09:29:47 +00:00
Bernhard Reutner-Fischer
cb83abd7b6
- mention FIXME use find_mount_point()
2008-05-19 08:40:26 +00:00
Bernhard Reutner-Fischer
3576bed2f9
- improve wording
2008-05-19 08:25:23 +00:00
Bernhard Reutner-Fischer
ae4342ca3e
- Rename getpty() to xgetpty() and adjust callers.
...
- Rewrite kbd_mode and setconsole
- Introduce and use console_make_active() and xopen_xwrite_close()
- honour buffer-reservation method as set by the user (dumpkmap, loadkmap)
- shrink rtcwake and some console-tools
Saves about 270 Bytes
2008-05-19 08:18:50 +00:00
Bernhard Reutner-Fischer
51a06c07da
- accept ip l s ib0 addr 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
2008-05-16 17:19:03 +00:00
Bernhard Reutner-Fischer
b8635e28b5
- very minor shrinkage
...
odd that this saved 1byte. And there could be something wrong with
ifcombine or the like since omitting the braces produces bigger code?
2008-05-16 16:55:17 +00:00
Bernhard Reutner-Fischer
dff6190112
- add appropriate string for arp header #32 for use by ip(8)
2008-05-16 16:21:00 +00:00
Bernhard Reutner-Fischer
f3b778a4dc
- fix bug where we incorrectly rejected ifconfig eth0 hw ether $whatever
...
- add support for printing ipoib to ifconfig
2008-05-16 16:10:31 +00:00
Bernhard Reutner-Fischer
825968f92c
- fix compilation on x86_64
2008-05-16 16:00:38 +00:00
Bernhard Reutner-Fischer
1b23773e26
- mention duplication of in_ether()
2008-05-16 14:35:34 +00:00
Bernhard Reutner-Fischer
9c3052aab6
- provide proc-less sample
...
- improve wording
2008-05-16 11:36:32 +00:00
Bernhard Reutner-Fischer
50dbed95fb
- pass flags to ld in one argument
2008-05-09 12:43:04 +00:00
Bernhard Reutner-Fischer
2af860464e
- forgot to pull in arch-specific tweaks
2008-05-08 13:25:20 +00:00
Bernhard Reutner-Fischer
6253880450
- fix selinux stuff
2008-05-08 12:21:44 +00:00
Bernhard Reutner-Fischer
6e38d52120
- correct usage helptext of ifupdown
2008-05-08 10:40:34 +00:00
Bernhard Reutner-Fischer
c8f7a97f89
- fix strncmp'ing "runlevel". (Cristian Ionescu-Idbohrn)
2008-05-05 14:45:32 +00:00
Bernhard Reutner-Fischer
c6191e9a0a
- fsetfilecon_war is hidden so use fsetfilecon instead.
...
Fixes dynamic linking-error:
util-linux/lib.a(mkswap.o): In function `mkswap_selinux_setcontext':
util-linux/mkswap.c:38: undefined reference to `fsetfilecon_raw'
2008-04-24 10:44:31 +00:00
Bernhard Reutner-Fischer
15ce7f5b58
- bump copyright year
2008-04-24 10:35:50 +00:00
Bernhard Reutner-Fischer
019d299f01
- update screenshot
2008-04-24 10:27:20 +00:00
Bernhard Reutner-Fischer
a4e55ab840
- rotate some older new to oldnews
2008-04-19 09:33:22 +00:00
Bernhard Reutner-Fischer
33b92f2fdb
- ignore "recent"; We have an RCS to serve these
2008-04-19 09:27:14 +00:00
Bernhard Reutner-Fischer
eecd588c53
- fix detection of whole-program
...
It helps if we first pull in the function we use for testing flags ;)
2008-04-11 12:42:23 +00:00
Bernhard Reutner-Fischer
1d690db720
- also use the incoming LDFLAGS and EXTRA_LDFLAGS
...
This isn't perfect since it will barf on linker flags with two args like -Wl,z,now et al.
2008-04-11 12:31:57 +00:00
Bernhard Reutner-Fischer
3bc7d7df3d
- erm sorry. no ipsvd here
2008-04-11 11:59:09 +00:00
Bernhard Reutner-Fischer
0f5dfd6b9a
- add ipsvd
2008-04-11 11:50:55 +00:00
Bernhard Reutner-Fischer
119f87be2a
- add printutils and util-linux/volume_id
...
- pull in Kbuild.includes
2008-04-11 08:46:56 +00:00
Bernhard Reutner-Fischer
ce7eb4443c
- add fbsplash and CONFIG_ASH_BASH_COMPAT to defconfig
2008-03-26 16:15:13 +00:00
Bernhard Reutner-Fischer
93e1a215af
- Don't point to obsolete patches but the current fixes for the stable releases
2008-02-27 21:42:13 +00:00
Bernhard Reutner-Fischer
3444bd4fc2
- update docs to point to the current stable branch
2008-02-27 21:28:02 +00:00
Bernhard Reutner-Fischer
51f421a55c
- fix compilation failure due to implicit decl of resolve_mount_spec().
...
DCE DTRT so remove the wrong guard.
2008-02-27 21:14:52 +00:00
Bernhard Reutner-Fischer
27dd495b98
- fix open(creat) without a mode
2008-02-18 18:35:53 +00:00
Bernhard Reutner-Fischer
f536b99d26
- shrink a tiny bit (-30Bytes)
2008-02-11 13:26:54 +00:00
Bernhard Reutner-Fischer
a985d306a1
- spelling fixes
2008-02-11 11:44:38 +00:00
Bernhard Reutner-Fischer
afdad653ac
- add eject -s for SCSI- and USB-devices (Nico Erfurth)
2008-02-08 15:04:00 +00:00
Bernhard Reutner-Fischer
8c69afd992
- be C99 friendly. Anonymous unions are a GNU extension. This change is
...
size-neutral WRT -std=gnu99 and fixes several compilation errors for strict
C99 mode.
2008-01-29 10:33:34 +00:00
Bernhard Reutner-Fischer
c96d37050f
- update defconfig
2008-01-29 09:28:02 +00:00
Bernhard Reutner-Fischer
f470196a41
- fix conflicting decls of syslog related facilitynames and prioritynames tables
2008-01-27 12:50:12 +00:00
Bernhard Reutner-Fischer
46904bfbcc
- Fix hdparm's ioctl parameter passing (John Brandwood)
2008-01-19 11:27:11 +00:00
Bernhard Reutner-Fischer
52432f2b06
- correct helptext of stat (Cristian Ionescu-Idbohrn)
2008-01-17 11:05:09 +00:00
Bernhard Reutner-Fischer
2b11fb483e
- implement brctl setpathcost, setportprio, setbridgeprio, stp
...
text data bss dec hex filename
907 20 0 927 39f networking/brctl.o
2008-01-14 16:10:11 +00:00
Bernhard Reutner-Fischer
c2f0de5eef
- mention strtod code-duplication as TODO for cleanup
2008-01-14 14:32:56 +00:00
Bernhard Reutner-Fischer
1aac3ab49f
- shrink a bit and implement time related fancy features. Improve help texts.
...
text data bss dec hex filename
253 20 0 273 111 networking/brctl.o.bare
613 20 0 633 279 networking/brctl.o.fancy-time
2008-01-13 18:43:50 +00:00
Bernhard Reutner-Fischer
78e1d58d3a
- fix commentary typo
2008-01-13 17:52:53 +00:00
Bernhard Reutner-Fischer
c44c21060e
- save four bytes by manually hoisting the br assignment
2008-01-13 15:43:28 +00:00
Bernhard Reutner-Fischer
ce34cccf28
- update defconfig
2008-01-13 15:33:13 +00:00
Bernhard Reutner-Fischer
d27d925a6d
- new applet brctl
...
text data bss dec hex filename
289 20 0 309 135 networking/brctl.o
335 23 0 358 166 networking/brctl-verbose-ops.o
2008-01-13 15:23:27 +00:00
Bernhard Reutner-Fischer
481ce92bdf
- add ipsvd
2008-01-11 20:52:45 +00:00
Bernhard Reutner-Fischer
7c2db5c198
- use standard-imposed constants some more
2007-11-16 12:39:16 +00:00
Bernhard Reutner-Fischer
a702457eac
- remove most of the forward declarations. No obj-code changes.
2007-11-16 12:20:30 +00:00
Bernhard Reutner-Fischer
e8979889b4
- add note about SUSv3 missing options.
2007-11-16 11:52:42 +00:00
Bernhard Reutner-Fischer
9bd8d0c23e
- commentary fixes
...
- use common exit sequence for failure path:
text data bss dec hex filename
308 0 0 308 134 libbb/xreadlink.o.pgf
296 0 0 296 128 libbb/xreadlink.o
2007-11-08 21:11:43 +00:00
Bernhard Reutner-Fischer
1641d614fa
- fix typo in helptext
2007-10-29 21:21:27 +00:00
Bernhard Reutner-Fischer
e747f62ed6
- mark TODO: use index_in_str_array()
2007-10-06 20:47:53 +00:00
Bernhard Reutner-Fischer
d24d5c84c2
- ditch 2 bytes
2007-10-01 18:04:42 +00:00
Bernhard Reutner-Fischer
73f56bb76d
- actually mv microcom.c to miscutils
2007-09-22 21:18:46 +00:00
Bernhard Reutner-Fischer
3a252b8c12
- add microcom to defconfig
2007-09-22 21:13:17 +00:00
Bernhard Reutner-Fischer
f588f70b91
- remove some trailing whitespace
2007-09-22 20:35:32 +00:00
Bernhard Reutner-Fischer
fc202427d5
- IFUPDOWN_IFSTATE_PATH depends on IFUPDOWN
2007-09-02 22:12:07 +00:00
Bernhard Reutner-Fischer
d2bb2d3918
- Generally strip off -l that does not pull in a lib.
...
If l_list is non-empty then add the group flags.
2007-09-02 15:28:30 +00:00