summaryrefslogtreecommitdiffstats
path: root/ax25
Commit message (Collapse)AuthorAgeFilesLines
* Use tabs for indentation, not spaces.Ralf Baechle2013-06-178-259/+259
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove useless initializations to 0 or NULL.Ralf Baechle2013-06-174-21/+21
| | | | | | | They only inflate the .data section of the binary. Initializations to FALSE are still left to do. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Nuke trailing whitespace.Ralf Baechle2013-06-1719-171/+171
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Nuke trailing blank lines.Ralf Baechle2013-06-175-5/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use dist_ prefix in Makefile.am rather than EXTRA_DIST where possible.Ralf Baechle2013-06-172-4/+3
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Weed out all use of RCS strings.Ralf Baechle2013-06-069-42/+5
| | | | | | | Their value has always been dubious and git doesn't support them so let's get rid of the clutter. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Convert .cvsignore files to .gitignoreRalf Baechle2013-06-042-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* call setsid() only if we are not already the process group leaderThomas Osterried2011-08-181-2/+6
|
* Removed check for return value of setsid(). If it's alreadyThomas Osterried2011-08-181-3/+2
| | | | process group leader, setsid() fails.
* Fix for CVE-2011-2910: check return status of setuid(), ..Thomas Osterried2011-08-182-8/+13
|
* Consistently spell digipeater.Ralf Baechle2011-07-141-1/+1
|
* Christoph Rueckert <dk2crn> had an issue with OpenSuse 11.2.Thomas Osterried2010-03-311-3/+3
| | | | | | | | | | login -f -h <protocol> <as_user> did not work. login -h <protocol> -f <as_user> did work. Imho, OpenSUSE meessed up login's getopt()... On the other hand, we have no problems to switch the position of arguments - as long as there's not another linux demanding another position ;)
* Fix parallel installation bugs.Ralf Baechle2009-09-231-1/+1
| | | | | | | | install-exec-local hooks may be run in parallel. This may result in the attempted installation of files into directories before they have been created. Fixed by using install-exec-hook instead. Reported and axgetput-only patch by Thomas Beierlein <tb@forth-ev.de>.
* Convert spelling of Joerg Reuter's name from umlaut to oe.Ralf Baechle2009-06-271-2/+2
| | | | | In a world that is caught between ISO 8859-1, ISO 8859-15 and UTF-8 non-ASCII characters are a guaranteed mess, still.
* axgetput: Delete homegrown declarations of optarg and optind.Ralf Baechle2009-06-231-4/+1
| | | | These should be declared by unistd.h only.
* axgetput: Remove homegrown 'extern int errno' declaration.Ralf Baechle2009-06-231-2/+1
| | | | <errno.h> is the way to go.
* Remove use of backwards compatibility header name.Ralf Baechle2009-06-218-70/+2
| | | | | | Glibc as old as 2.2 provides working headers under the right name and if not libax25 would install headers under the right name so this has become redundant and ugly.
* Ignore a few more generated files.Ralf Baechle2009-06-192-0/+2
|
* Remove all generated files.Ralf Baechle2009-06-192-1303/+0
| | | | | | | | | | | | | | Keeping generated files in CVS doesn't only tend to produce large and cluttered files it also may result in build problems due to timestamps in the wrong order. So dump everything, update .cvsignore to ignore these files and resolve all warnings generated by autoreconf. From now on users of a CVS checkout should run the command autoreconf --install --force after having done a CVS checkout. For this to succeed automake, autoconf and libtool will have to be installed.
* Fix type of length argument to sockset syscalls.Ralf Baechle2009-06-144-9/+12
| | | | | | | | Various socket syscalls receive a length argument that should be a socklen_t rsp. a ptr to a socklen_t but instead int rsp. ptr to int were being passed. While in theory this was a bug it's harmless as dangerously large values would not be used but the issue manifested itself in a significant number of compilation warnings.
* Fix utmp time codeRalf Baechle2009-06-141-4/+10
| | | | | | | | | | | | | | | | | | | Thanks to using the antiquated time(2) call the microsecond field of the struct utmp being manipulated was never initialized resulting in random values. On some 64-bit systems this also manifested itself in below warnings. axspawn.c: In function ‘cleanup’: axspawn.c:1017: warning: passing argument 1 of ‘time’ from incompatible pointer type /usr/include/time.h:186: note: expected ‘time_t *’ but argument is of type ‘int32_t *’ [...] axspawn.c: In function ‘main’: [...] axspawn.c:1693: warning: passing argument 1 of ‘time’ from incompatible pointer type /usr/include/time.h:186: note: expected ‘time_t *’ but argument is of type ‘int32_t *’ Fixed by changing it to the recommended initialization sequenze based on gettimeofday().
* Convert K&R-style function definitions to function prototypes.Ralf Baechle2009-06-142-7/+7
|
* fixThomas Osterried2009-02-121-1/+1
|
* escape fixThomas Osterried2009-02-121-1/+1
|
* time_t for file_timeThomas Osterried2009-01-221-3/+3
|
* made proto_bin compatible to call(1) ~a upload.Thomas Osterried2009-01-221-15/+25
|
* completed docuThomas Osterried2008-11-211-1/+2
|
* important security fix:Thomas Osterried2008-11-211-9/+18
| | | | char addr[20] was static and strcpy(addr,.argv[n]) of variable length..
* bugfix: write_ax25(line, ..) segfaultet if line is static char[].Thomas Osterried2008-11-081-6/+14
|
* fix: strncpy(ut.ut_id, tty + 3, sizeof(ut.ut_id)); // was ↵Thomas Osterried2008-10-221-2/+2
| | | | sizeof(ut.ut_line) with size = 12, wheras ut_id is 4.
* get_assoc(): file handle of fopen(PROC_AX25_CALLS_FILE, "r") wasThomas Osterried2008-10-101-1/+3
| | | | never closed.
* Fix for autoconf. Thanks to Tom <DL1JBE>Thomas Osterried2008-08-032-3/+2
|
* fix in Makefile.am for installation of man page axgetput.1Thomas Osterried2008-05-161-0/+1
|
* changed mail addressesThomas Osterried2008-04-272-3/+3
|
* typo: embeded is embeddedThomas Osterried2008-04-132-8/+8
|
* axspawn on embeded systems like openwrt:Thomas Osterried2008-04-132-33/+108
| | | | | | | | | | | | on those systems, things are not as you expect. i.e., /bin/login is a shell script and implements boot-specific actions only (login without root password, etc..). The assumption that /bin/login -f username causes user as uid > 0 to login is wrong; user may gain root rights. axspawn now implements partially (thus, in the important points) what login assures. axspawn should be involked with the option --embeded when called from ax25d.
* fix: ask_pw_sys(): do not query for the same numbersThomas Osterried2008-02-161-1/+0
|
* new feature: bcpasswd authentication type "unix".Thomas Osterried2008-02-163-7/+32
| | | | | user has now also the choice to use the standard unix passwd/shadow authentication
* typoThomas Osterried2008-02-161-1/+1
|
* - bugfix: did false computations on 64bit plattforms.Thomas Osterried2007-09-161-0/+4
|
* - axparms is now more posix compliantThomas Osterried2007-04-162-40/+44
| | | | | - Fix in the man page: axparms --set-call told something wrong about "serial-device".
* Fix possible irritation because arguments were "-xxx".Thomas Osterried2007-04-162-18/+18
| | | | | Retained backward compatibility, but prefered arguments are now without '-'.
* updated manpageThomas Osterried2007-03-111-2/+47
|
* a profile is sourced, not executed. -> removed "#!/bin/sh"Thomas Osterried2007-03-111-2/+1
|
* - bugfix: if /etc/skel/.profile exists, and /etc/ax25/ax25.profile,Thomas Osterried2007-03-111-4/+41
| | | | | | | | | | then .profile is copied, and without deletion the contense of ax25.profile is overwritten. to .profile. This lead to garbage. - Some useradd implementations refuse to add the user if his homedir already exists. But we need the function which builds the subtree /home/hams/dl9.../, because useradd does not make the missing subdirs by itself (instead, it's a severe error condition for useradd)
* Nuke K&R style non-prototypes ...Ralf Baechle2007-01-231-11/+3
|
* Fix warnings about // style comment. And remove some of the mostRalf Baechle2007-01-239-100/+124
| | | | pointless comments.
* Include <sys/time.h>. This fixes a build error on glibc 2.1.Ralf Baechle2007-01-231-0/+1
|
* Convert to autoconf 2.59. Delete junk from past centuries.Ralf Baechle2007-01-224-74/+18
|
* Manual page for axgetput. This fixes the build which broke becauseRalf Baechle2007-01-221-0/+32
| | | | ax25/axgetput/Makefile.am was referencing the non-existing man page.