aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* ipcalc: detect invalid maskLukas Nykryn2016-11-101-0/+7
| | | | Resolves: RHBZ #1377986
* rename_devices: comments need to have a blank before themLukas Nykryn2015-10-271-6/+13
| | | | | Cherry-picked from: 65901ce5f29f9ec45339c3474a360d9bbcee6bac Resolves: #1220924
* rename_device: remove comments and trailing whitespacesLukas Nykryn2015-10-271-0/+8
| | | | | Cherry-picked from: 4632b2f3c067461ba7ab815affcca9ff7e3bf12c Resolves: #1220924
* ipcalc: support RFC3021 (#997271)Lukas Nykryn2015-02-041-1/+6
|
* ipcalc: -c allow netmaskLukas Nykryn2014-06-061-2/+2
|
* ipcalc: parse prefix more safelyLukas Nykryn2014-06-061-2/+22
|
* securetty: check if the device is in the file before attempting to write to itBill Nottingham2013-07-151-21/+37
| | | | This avoids spurious failures on RO root systems.
* Revert patches which should not be in 6.4Lukas Nykryn2012-10-081-37/+21
| | | | | | | | | | | | | | | | | | | | | | Revert "Process rule6-* for sit devices (#840009)" This reverts commit f082f9e64eadbf68ef9bb67744c97c0974af9115. Revert "securetty: check if the device is in the file before attempting to write to it" This reverts commit 10c72ce532c1d4f6d0b17fdc9448c9bd2d0b5ef5. Revert "Killproc -d should parse same values as sleep" This reverts commit 763b7dcf6bf9e47d90546be1aabf1f724dd527f8. Revert "Make killproc more granular when delay is passed. (#428029, <xjakub@fi.muni.cz>)" This reverts commit 6e62c51f3162081cc05ef546929aa98b8448b1cb. Revert "Allow dhclient configuration files for DHCPv6 as well. (#815676)" This reverts commit 9987361e94ec6f26e557053b27af6e43a9ee13e1.
* securetty: check if the device is in the file before attempting to write to itBill Nottingham2012-08-071-21/+37
| | | | This avoids spurious failures on RO root systems.
* rename_device: skip VLAN=yes configuration filesHarald Hoyer2012-08-031-1/+6
|
* rename_device: dequote DEVICE="eth0"Harald Hoyer2010-07-261-1/+1
|
* rename_device: fix s390 subchannel readingHarald Hoyer2010-07-151-3/+4
|
* Add sushell, man page to manifests.initscripts-9.03.11-1Bill Nottingham2010-06-291-0/+2
|
* Don't directly execute bash for single-user mode, as that has SELinux ↵Bill Nottingham2010-06-292-0/+21
| | | | | | | | | | | issues. (#540216, #584443, #585053) If upstart directly runs bash for single-user mode, there's no way for SELinux to set the proper context (to distinguish it from other init scripts). Inserting a helper binary in the way allows for this. While we're changing this, we make it configurable so it's easily possible for people to use sulogin if they so desire.
* Tweak manpage so it formats correctly (#586476)Bill Nottingham2010-04-271-1/+2
|
* Move ccw_init and ccw udev rules to s390utils. (#539491)Bill Nottingham2010-02-152-44/+0
|
* Add more man pages (#529328, <plautrba@redhat.com>)Bill Nottingham2010-01-073-0/+39
|
* License cleanup.Bill Nottingham2010-01-059-7/+41
|
* Remove kmodule.Bill Nottingham2010-01-051-3/+0
|
* Remove backup files on 'make clean'.Bill Nottingham2010-01-052-171/+1
|
* Merge branch 'upstart-0.6.0-branch'Bill Nottingham2009-12-091-2/+3
|\
| * fixed serial console handlingPetr Lautrbach2009-12-031-2/+3
| |
* | Remove more initlog references.Bill Nottingham2009-12-041-4/+0
| |
* | Remove very obsolete doexec.Bill Nottingham2009-12-044-40/+1
| | | | | | | | It was only ever used in the slip code, which has been removed.
* | Remove minilogd code as well.Bill Nottingham2009-12-042-195/+0
| |
* | Remove initlog code as well.Bill Nottingham2009-12-046-922/+0
|/
* Add initial ifup/ifdown man pages. (#529328, <plautrba@redhat.com>)Bill Nottingham2009-11-022-0/+38
|
* Remove long since deprecated initlog.Bill Nottingham2009-10-261-4/+1
|
* Move .cvsignore -> .gitignore.Bill Nottingham2009-10-201-0/+0
|
* Fix IPv6 address checking (#516319)Bill Nottingham2009-08-102-1/+2
|
* Remove very obsolete file.Bill Nottingham2009-07-291-40/+0
|
* Various ipdates to ipcalc to make it more useful.Victor Lowther2009-07-291-27/+42
| | | | | | | | 0 is a perfectly good prefix length. All the cool default routes use it. Autodetect if we are passed an IPv6 address and shift modes accordingly. Check prefixes as well as addresses when checking for validity.
* More tests.Bill Nottingham2009-07-291-0/+4
|
* More tests.Bill Nottingham2009-07-291-23/+30
|
* Add some simple regression tests for ipcalcBill Nottingham2009-07-292-0/+89
| | | | Adapted from tests from Matej Susta <msusta@redhat.com>.
* Expand get_hostname() function to support IPv4 and IPv6.David Cantrell2009-03-191-7/+29
| | | | | Make sure that get_hostname() if the user specifies either address family.
* Remove unnecessary tab.David Cantrell2009-03-191-1/+1
|
* Correct address family option handling in ipcalc.David Cantrell2009-03-191-42/+41
| | | | | Make sure the default is IPv4. If the check option is specified, make sure we just validate the address and return 1 or 0.
* Compile ipcalc with _GNU_SOURCE defined (for asprintf).David Cantrell2009-03-191-1/+1
|
* Man page updates for ipcalc(1)David Cantrell2009-03-192-7/+23
| | | | | Make sure the ipcalc man page explains the -c, -4, and -6 options. Update some other things. Shamelessly add my name.
* Add a address check capability for IPv4 and IPv6 addresses.David Cantrell2009-03-191-0/+42
| | | | | | | | | | | | | Add the -c, --check argument which enables address validation. The ipcalc program will exit with 0 if the address is valid or 1 if it is invalid, for the specified family. Add the -4, --ipv4 argument to specify the IPv4 address family. Add the -6, --ipv6 argument to specify the IPv6 address family. Ensure that the IPv6 family argument is invalid with the IPv4-only show arguments (broadcast, network, netmask, prefix).
* Use asprintf() rather than malloc() and sprintf().David Cantrell2009-03-191-3/+6
| | | | | Use asprintf() for conversion and abort on memory allocation failures.
* Use inet_ntop() and inet_pton()David Cantrell2009-03-191-5/+27
| | | | | The inet_ntoa() and inet_aton() functions are deprecated and limited to AF_INET only.
* Use 'struct in_addr' for IPv4 addresses.David Cantrell2009-03-191-44/+54
| | | | | Change from using uint32_t to struct in_addr for IPv4 addresses. Get rid of the IPBITS and IPBYTES macros.
* Whitespace cleanups for src/ipcalc.cDavid Cantrell2009-03-191-135/+130
| | | | Consistently use 4 spaces for indentation throughout ipcalc.c
* Add an option for consoletype to always return 0.Bill Nottingham2009-03-172-3/+8
| | | | | This allows tcsh -e to work, with lang.sh. It's a hack, but there really isn't a better way to solve it.
* loadkeys has a -q option for silent running. Use it.Bill Nottingham2009-02-261-6/+6
|
* Don't re-init an existing device, it causes errors. (#484411, ↵Bill Nottingham2009-02-061-1/+1
| | | | <jpayne@redhat.com>)
* Make rename_device much faster in the presence of many devices (#480687, ↵Bill Nottingham2009-01-191-73/+19
| | | | <danms@us.ibm.com>)
* Fix setting of console font/map (#458362, <ak@sensi.org>)Bill Nottingham2008-10-061-6/+11
| | | | Don't explicitly pass -u none or -m none; just pass them if one is set.