| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25/"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25/"\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -MT axparms.o -MD -MP -MF .deps/axparms.Tpo -c -o axparms.o axparms.c
axparms.c: In function ‘routes’:
axparms.c:142:4: error: format not a string literal and no format arguments [-Werror=format-security]
printf(routebuf);
^
axparms.c: In function ‘associate’:
axparms.c:189:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buffer, 80, fp);
^
cc1: some warnings being treated as errors
Makefile:570: recipe for target 'axparms.o' failed
make[3]: *** [axparms.o] Error 1
Note that routebuf has been read from /procfs so should be safe.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
automake 1.14 will install this file into the top directory with
"automake --add-missing" and complain if it's missing:
$ automake
configure.ac:10: error: required file './compile' not found
configure.ac:10: 'automake --add-missing' can install 'compile'
$
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Without this dummy rule, make installconf failes in the rose subdir with:
[...]
make[1]: Entering directory `/home/ralf/src/ax25/ax25-tools/rose'
make[1]: *** No rule to make target `installconf'. Stop.
make[1]: Leaving directory `/home/ralf/src/ax25/ax25-tools/rose'
[...]
This bug exists since 0.0.3 and predates the CVS history.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes the automake warnings:
6pack/Makefile.am:10: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Makefile.am:9: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
ax25/Makefile.am:26: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
hdlcutil/Makefile.am:16: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
kiss/Makefile.am:11: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
netrom/Makefile.am:28: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
rose/Makefile.am:15: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
tcpip/Makefile.am:27: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
INCLUDES has been deprecated since automake 1.5.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25/"\" -DAX25
_LOCALSTATEDIR=\""/usr/local/var/ax25/"\" -g -O2 -Wall -MT axspawn.o -MD -MP
-MF .deps/axspawn.Tpo -c -o axspawn.o axspawn.c
[...]
axspawn.c:1049:7: warning: unused variable ‘command’ [-Wunused-variable]
char command[1024];
^
[...]
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
| |
These are just editor backup files and don't provide any useful content.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|\
| |
| |
| |
| | |
Conflicts:
ax25/axspawn.c
|
| |
| |
| |
| | |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
| |
| |
| |
| | |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
| |
| |
| |
| | |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
| |
| |
| |
| | |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
| |
| |
| |
| | |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
| |
| |
| |
| | |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
| |
| |
| |
| |
| |
| |
| | |
Indentation by tabs only. Move case labels in switches are on the same
level as the switch keyword.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
| |
| |
| |
| | |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
| |
| |
| |
| | |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
| |
| |
| |
| | |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
| |
| |
| |
| | |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
| |
| |
| |
| | |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
| |
| |
| |
| | |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
| |
| |
| |
| | |
Signed-off-by: Thomas Osterried <thomas@osterried.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Security patch submitted by Jaroslav Skarvada <jskarvad@redhat.com>
Netrom and ROSE Addresses are copied to Node.
Room was enough for Netrom, but rose addresses returned by rose_ntoa()
are one byte longer (a 10 bytes string plus null-termination) which lead
to an buffer overflow.
|
| |
| |
| |
| |
| |
| | |
and rose devices (previously 4 netrom, 6 rose).
Thanks to Jaroslav, OK2JRQ for the patch
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The user_shell config variable is optional. If not specified, /bin/bash is
used. Except: if create_with_useradd is configured and there's a config
file /etc/default/useradd, then it's not passed to useradd in order to let
the user choose.
Signed-off-by: Thomas Osterried <ax25@x-berg.in-berlin.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
cpu power, if it was called from axspawn. This could be prevented if
SIGCHLD is masked.
To increase security, no longer call useradd via system() but fork() and
execve().
Fixed a bug when useradd failed then the login process continued anyway.
Empty lines in axspawn.conf are now valid.
The user_shell config variable is optional. If not specified, /bin/bash is
used. Except: if create_with_useradd is configured and there's a config
file /etc/default/useradd, then it's not passed to useradd in order to let
him choose.
Signed-off-by: Thomas Osterried <ax25@x-berg.in-berlin.de>
|
|/
|
|
|
|
|
|
| |
First compute the node quality by remotely reported quality * best_quality)
+ 128) / 256; (the well known algorithm) and afterwards verify if it's
< worst_qual.
Signed-off-by: Thomas Osterried <thomas@osterried.de>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
This fixes http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=671016 but
using a smaller patch.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
g++ -DHAVE_CONFIG_H -I. -I../.. -I./.. -g -O2 -MT xfsmmixer_main.o -MD -MP -
MF .deps/xfsmmixer_main.Tpo -c -o xfsmmixer_main.o xfsmmixer_main.cxx
xfsmmixer_main.cxx: In function ‘int main(int, char**)’:
xfsmmixer_main.cxx:318:31: warning: deprecated conversion from string constant t
o ‘char*’ [-Wwrite-strings]
[...]
g++ -DHAVE_CONFIG_H -I. -I../.. -I./.. -g -O2 -MT xfhdlcchpar_main.o -MD -MP
-MF .deps/xfhdlcchpar_main.Tpo -c -o xfhdlcchpar_main.o xfhdlcchpar_main.cxx
xfhdlcchpar_main.cxx: In function ‘int main(int, char**)’:
xfhdlcchpar_main.cxx:88:31: warning: deprecated conversion from string constant
to ‘char*’ [-Wwrite-strings]
[...]
g++ -DHAVE_CONFIG_H -I. -I../.. -I./.. -g -O2 -MT xfhdlcst_main.o -MD -MP -M
F .deps/xfhdlcst_main.Tpo -c -o xfhdlcst_main.o xfhdlcst_main.cxx
xfhdlcst_main.cxx: In function ‘int main(int, char**)’:
xfhdlcst_main.cxx:84:31: warning: deprecated conversion from string constant to
‘char*’ [-Wwrite-strings]
[...]
g++ -DHAVE_CONFIG_H -I. -I../.. -I./.. -g -O2 -MT xfsmdiag_main.o -MD -MP -M
F .deps/xfsmdiag_main.Tpo -c -o xfsmdiag_main.o xfsmdiag_main.cxx
xfsmdiag_main.cxx: In function ‘int main(int, char**)’:
xfsmdiag_main.cxx:360:31: warning: deprecated conversion from string constant to
‘char*’ [-Wwrite-strings]
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
| |
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -flto -MT user_io.o -MD -MP -MF .deps/user_io.Tpo -c -o user_io.o user_io.c
user_io.c: In function ‘err’:
user_io.c:38:25: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25/"\" -DAX25
_LOCALSTATEDIR=\""/usr/local/var/ax25/"\" -g -O2 -flto -MT rsparms.o -MD -MP
-MF .deps/rsparms.Tpo -c -o rsparms.o rsparms.c
rsparms.c: In function ‘printnb’:
rsparms.c:38:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
rsparms.c:38:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
rsparms.c:39:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
rsparms.c:39:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
rsparms.c: In function ‘nodes’:
rsparms.c:120:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
This may result in docfiles getting installed in ${prefix}/doc/, not
${prefix}/share/doc which is the convention.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
| |
|
|
|
|
|
|
|
| |
Since the introduction of AC_CONFIG_HEADERS in automake 1.7
AM_CONFIG_HEADER has been deprecated and it has finally been removed
in automake 1.12. So this change also generates a dependency on
automake 1.7 or newer.
|
|
|
|
|
|
|
| |
they handled lines starting with '#' correctly, but complain (and
refuse to work) if the lines are empty (-- this is in contrast
to programs like call which use libax25 and work with empty lines).
this small patch fixes this issue.
|
| |
|
|
|
|
|
|
|
|
| |
debian Bug#689322: "restrict" is a keyword in C99
tcpip/rip98d.c uses "restrict" as a variable name. This collides with
the fact that in C99 "restrict" is a keyword. Compilers that default
to C99-mode, or gcc -std=c99, fail to compile this code.
|
| |
|
|
|
|
| |
process group leader, setsid() fails.
|
| |
|
|
|
|
|
| |
The name of the option is -nodes, not -node. Really minor - the option
parser on looks at the first two characters.
|
|
|
|
|
| |
This utility apparently was removed for ax25-utils 2.1.37 released
in May 1997.
|