Commit Graph
2264 Commits
Author SHA1 Message Date
Joel Sherrill f18deb2f34 missed in previous commit. 2003-02-07 00:34:40 +00:00
Joel Sherrill f81fb80981 2003-02-06 Joel Sherrill <joel@OARcorp.com>
* pppd/chat.c: Convert routines with common names to static. This
	included get_char(), put_char(), and character() among others.
2003-02-06 22:19:11 +00:00
Joel Sherrill 089e1b0477 2003-02-06 Ilya Alexeev <ilya@continuum.ru>
* m68360.h: Correct the order of fields in the ethernet structure
	to account for the typo in MC68360UM (page 7-248).
2003-02-06 17:46:19 +00:00
Joel Sherrill 8d3e925485 2003-02-06 Mike Siers <mikes@poliac.com>
PR 342/networking
	* kern/uipc_mbuf.c: The RTEMS version of the m_copyback is changing
	the m_len value of the mbuf.  I looked into the source from another
	BSD system and the mbuf length is not changed inside this function.
	The m_copyback function is only being used in the net/rtsock.c file.
	So I think this problem is only visable under certain routing table
	conditions.
2003-02-06 17:14:29 +00:00
Joel Sherrill 2a09fb6ebf 2003-02-06 Joel Sherrill <joel@OARcorp.com>
* include/sys/ioccom.h: Include <sys/types.h> not <machine/types.h> so
	Linux port builds.
2003-02-06 15:01:59 +00:00
Joel Sherrill 9da12bdbb0 2003-02-05 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 341/networking
	* lib/ftpfs.c: Account for NULL at end of strings when malloc()'ing
	memory.
2003-02-05 21:25:55 +00:00
Joel Sherrill f4f341bb9c 2003-02-05 Till Straumann <strauman@slac.stanford.edu>
PR 340/filesystem
	* src/fcntl.c: Add missing _fcntl_r assumed to exist by newlib.
2003-02-05 21:23:49 +00:00
Joel Sherrill 787449a9c8 2003-02-05 Joel Sherrill <joel@OARcorp.com>
* include/sys/ioccom.h: Fix so not using internal RTEMS types in libc
	code.
2003-02-05 21:12:03 +00:00
Joel Sherrill 590cae7a98 2003-02-03 Joel Sherrill <joel@OARcorp.com>
PR 338/filesystem
	* include/rtems/io.h, src/io.c: Side-effect of fixing reentrancy
	problem with rtems_io_lookup_name() (API change).
2003-02-03 23:58:21 +00:00
Joel Sherrill 97aaa2a20a 2003-02-03 Joel Sherrill <joel@OARcorp.com>
PR 338/filesystem
	* src/unixlibc.c: Side-effect of fixing reentrancy problem with
	rtems_io_lookup_name() (API change).
2003-02-03 23:57:33 +00:00
Joel Sherrill 81968b9a6e 2003-02-03 Joel Sherrill <joel@OARcorp.com>
PR 338/filesystem
	* rtems.adb, rtems.ads: Side-effect of fixing reentrancy problem with
	rtems_io_lookup_name() (API change).
2003-02-03 23:57:10 +00:00
Joel Sherrill 43f69a2d7b 2003-02-03 Steven Johnson <sjohnson@neurizon.net>
PR 338/filesystem
	* src/imfs/ioman.c: Fix reentrancy problem with
	rtems_io_lookup_name() (API change).
2003-02-03 22:05:20 +00:00
Joel Sherrill d90b74e07b 2003-02-03 Till Straumann <strauman@slac.stanford.edu>
PR 339/filesystem
	* src/chroot.c: Fix violation of FS node object copy semantics.
2003-02-03 22:00:30 +00:00
Joel Sherrill 4f3e2c283f 2003-01-28 Joel Sherrill <joel@OARcorp.com>
* aclocal/version.m4: Updated to rtems-ss-20030128.
2003-01-28 18:47:37 +00:00
Joel Sherrill 450a06cae7 2003-01-28 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Add kern/kern_sysctl.c to Makefile.am so networking
	tests build. This was subsequently reported as PR337 before I
	committed the fix.
2003-01-28 14:16:25 +00:00
Joel Sherrill 9d647dfc30 2003-01-27 Till Straumann <strauman@SLAC.Stanford.edu>
* libc/getproto.c, libc/getprotoname.c: modification to call
	getprotoent_static() if fopen() on /etc/protocols fails.
2003-01-27 16:20:14 +00:00
Joel Sherrill f6c2c30ed4 2003-01-27 Dan Smisko <dan@balanced.com>
* stackchk/check.c: Fix problem where _Objects_Get_information()
	will dereference a null pointer when checking the interrupt stack.
	If there's something at 0, you may be ok at run time but it is wrong.
2003-01-27 16:16:26 +00:00
Joel Sherrill 62e080e114 2003-01-27 Dan Smisko <dan@balanced.com>
* monitor/mon-command.c: Correct two potential NULL references.
2003-01-27 16:13:28 +00:00
Joel Sherrill 7210dcb41a 2003-01-27 Juan Zamorano <jzamora@fi.upm.es>
* src/ptimer1.c: Correct problem which could lead to overflow in time
	math.
2003-01-27 15:48:18 +00:00
Joel Sherrill 635652ecf6 2003-01-27 Eugeny S. Mints <Eugeny.Mints@oktet.ru>
* src/blkdev.c: Per PR331 fix bug which is tripped by writing 512 byte
	blocks to 512 byte aligned positions.
2003-01-27 15:13:12 +00:00
Joel Sherrill aa7d131a8f 2003-01-27 Eugeny S. Mints <Eugeny.Mints@oktet.ru>
* src/blkdev.c: Per PR331 fix bug which is tripped by writing 512 byte
	blocks to 512 byte aligned positions.
2003-01-27 15:12:00 +00:00
Ralf Corsepius d790ca3406 2002-01-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Fix tests for GCC.
2003-01-25 14:54:13 +00:00
Ralf Corsepius 5a8a05b2c9 2002-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add check for weak function attribute.
	Remove AM_CONDITIONAL([RTEMS_LIBSHELL].
	Add AM_CONDITIONAL(LIBSHELL), AM_CONDITIONAL(LIBSERDBG).
	* capture/Makefile.am:  Use *.a instead of *-tmp.a.
	* cpuuse/Makefile.am:  Use *.a instead of *-tmp.a.
	* devnull/Makefile.am:  Use *.a instead of *-tmp.a.
	* dummy/Makefile.am:  Use *.a instead of *-tmp.a.
	* dumpbuf/Makefile.am:  Use *.a instead of *-tmp.a.
	* monitor/Makefile.am:  Use *.a instead of *-tmp.a.
	* mw-fb/Makefile.am:  Use *.a instead of *-tmp.a.
	* rtmonuse/Makefile.am:  Use *.a instead of *-tmp.a.
	* serdbg/Makefile.am:  Use *.a instead of *-tmp.a.
	Build iff LIBSERDBG is true.
	* shell/Makefile.am:  Use *.a instead of *-tmp.a.
	Build iff LIBSHELL is true.
	* stackchk/Makefile.am:  Use *.a instead of *-tmp.a.
	* untar/Makefile.am:  Use *.a instead of *-tmp.a.
	* wrapup/Makefile.am: Reflect changes above.
2003-01-24 12:05:44 +00:00
Ralf Corsepius 08df9a21e4 2003-01-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/local.am: Remove distclean-local.
	Remove PROJECT_TOOLS.
2003-01-23 22:21:24 +00:00
Ralf Corsepius 16735cab84 2003-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/compile.am: Remove CLEAN_DEPEND (Unused).
	Remove CLOBBER_DEPEND (Unused).
2003-01-21 13:40:05 +00:00
Ralf Corsepius 4855824175 2003-01-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* pppd/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	  Eliminate *_O_FILES.
	* rtems_servers/Makefile.am: Ditto.
	* rtems_webserver/Makefile.am: Ditto.
	* rtems_telnetd/Makefile.am: Ditto.
2003-01-16 02:58:35 +00:00
Ralf Corsepius d6c3d56acd 2003-01-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* netinet/tcp_subr.c: Add args to INP_INFO_RLOCK, INP_INFO_RUNLOCK,
	INP_LOCK, INP_UNLOCK macros.
	* netinet/udp_usrreq.c: Add args to INP_INFO_RLOCK, INP_INFO_RUNLOCK,
	INP_LOCK, INP_UNLOCK macros.
2003-01-15 10:51:32 +00:00
Ralf Corsepius 81df4984ff 2003-01-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Eliminate OBJS.
2003-01-14 18:41:29 +00:00
Joel Sherrill 6b384516b9 2003-01-10 Joel Sherrill <joel@OARcorp.com>
* src/msg.c, src/part.c, src/sem.c, src/tasks.c: Correct object
	class control structure initialization for multiprocessing
	configurations.
2003-01-10 15:04:42 +00:00
Joel Sherrill eb7cddd3cf 2003-01-10 Joel Sherrill <joel@OARcorp.com>
* src/objectmp.c: Corrected use of name parameter to reflect that it
	is actually the name not a pointer to the name.
2003-01-10 15:04:01 +00:00
Joel Sherrill 0b178f0436 2003-01-10 Joel Sherrill <joel@OARcorp.com>
* include/rtems/libio.h: Rename __dev_t to __rtems_dev_t to avoid
	conflict with GNU/Linux header files.
2003-01-10 15:02:52 +00:00
Joel Sherrill e1fe652508 2003-01-03 Joel Sherrill <joel@OARcorp.com>
* rtems.ads: Corrected Configuration_Table record definition to
	match current RTEMS source. sp01 now runs.
2003-01-03 22:44:40 +00:00
Joel Sherrill 6bd96fc7ab 2003-01-03 Jitendra Vegiraju <jvegiraju@netscape.net>
* sys/queue.h: Fix alignment problem on ARM.
2003-01-03 20:40:29 +00:00
Joel Sherrill 1292ba4654 2003-01-03 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Per PR315, eliminate warning for structure
	alignment requests that are too large.
2003-01-03 20:08:14 +00:00
Joel Sherrill 883129a3fd 2003-01-03 Till Straumann <strauman@slac.stanford.edu>
* ChangeLog, base_fs.c, getpwent.c, privateenv.c
	Per PR303, Fix violation of node_access copy syemantics

2002-12-26     Till Straumann  <strauman@slac.stanford.edu

        * src/fchdir.c: PR302 fix violation of FS node object copy semantics.
2003-01-03 18:23:52 +00:00
Jennifer Averett f6161c72d1 2003-01-03 Till Straumann <strauman@slac.stanford.edu>
* ChangeLog, base_fs.c, getpwent.c, privateenv.c
	Per PR303, Fix violation of node_access copy syemantics
2003-01-03 18:14:09 +00:00
Joel Sherrill 36799d4063 2002-11-26 Chris Johns <cjohns@cybertec.com.au>
* Makefile.am: Added sys/linker_set.h
	* kern/Makefile.am: Added kern_mib.c and kern_sysctl.c.
	* kern/uipc_socket.c: OID changed from KERN_SOMAXCONN to KIPC_SOMAXCONN.
	* kern/uipc_socket2.c: OID changed from KERN_MAXSOCKBUF to
	KIPC_MAXSOCKBUF.
	* net/if_ethersubr.c: FreeBSD 2.2.2 does not have a _net_link node
	while 5.0 does.
	* net/if_ppp.c: Removed the TEXT_SET define as these macros are
	now implemented.
	* net/rtsock.c: Enable sysctl support plus fix the bug with the
	lastest FreeBSD sysctl header file.
	* netinet/icmp_var.h: FreeBSD 2.2.2 does not have a _net_inet_icmp
	node while 5.0 does.
	* netinet/if_ether.c: FreeBSD 2.2.2 does not have a _net_link_ether
	node while 5.0 does.
	* netinet/igmp_var.h: FreeBSD 2.2.2 does not have a _net_inet_igmp
	node while 5.0 does.
	* netinet/in_pcb.c: Fixed the arguments to the sysctl call. Add
	inp_gencnt and ipi_count. These are used when listing connections.
	* netinet/in_pcb.h: Added counters to aid the listing of connections.
	* netinet/in_var.h: Provide the _net_inet_ip and _net_inet_raw nodes.
	* netinet/ip_fw.c: Disable the firewall sysctl calls.
	* netinet/tcp_subr.c: Merge tcp_pcblist from the lastest FreeBSD source.
	* netinet/tcp_var.h: Add structures needed by net-snmp to list
	connections.
	* netinet/udp_usrreq.c: Merged udp_pcblist from the lastest FreeBSD
	source.
	* netinet/udp_var.h: Added the sysctl id UDPCTL_PCBLIST. Used by
	net-snmp.
	* rtems_glue.c: Call sysctl_register_all when initialising the
	network stack to register all the sysctl calls. These are in the
	special sections and required an updated linker script.
	* rtems/rtems_syscall.c: Add the sysctl call.
	* sys/kernel.h: Use the lastest FreeBSD method of handling sysctl
	structures.  This now held in the sys/linker_set.h file.
	* sys/queue.h: This is from the lastest FreeBSD code with the circular
	code merged back in as it is not used in the lastest FreeBSD kernel.
	* sys/sysctl.h: The lastest sysctl. This was needed to use with the new
	linker set method. The FreeBSD 2.2.2 version has asm hacks. The lastest
	version of the FreeBSD does not have these hacks. It uses gcc attribute
	directives.
2003-01-03 18:09:57 +00:00
Joel Sherrill ff38359fc6 2003-01-03 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Corrected entry for sysconf.c which did not include PR.
2003-01-03 17:04:03 +00:00
Joel Sherrill 828be6d2f4 2003-01-03 Eugeny S. Mints <Eugeny.Mints@oktet.ru>
* src/ata.c, src/bdbuf.c: Correct invocation of rtems_task_mode()
	so the task's preemption mode setting is properly maintained.
2003-01-03 16:39:46 +00:00
Joel Sherrill b9fa9f075c 2003-01-03 Eugeny S. Mints <Eugeny.Mints@oktet.ru>
* src/dosfs/msdos_initsupp.c: Specify inherited priority as 0 since this
	is a FIFO queuing semaphore.
2003-01-03 16:38:37 +00:00
Joel Sherrill 98e3a335b3 2003-01-03 Jay Monkman <jtm@smoothsmoothie.com>
* src/mqueueopen.c: Actually open the message queue descriptor
	so it is available for others to use.
2003-01-03 16:33:22 +00:00
Jennifer Averett 4257974362 2002-12-26 Till Straumann <strauman@slac.stanford.edu
* src/fchdir.c - PR302 fix violation of FS node object copy semantics
2002-12-26 15:48:48 +00:00
Ralf Corsepius 28ed8f3ab2 2002-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/compile.am: Remove $(RTEMS_BSP_CFLAGS).
2002-12-19 05:17:22 +00:00
Eric Norum b6e283de6f Include netinet sources. 2002-12-19 03:47:16 +00:00
Ralf Corsepius 5919677e7c 2002-12-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Fix path to libxdr and librpc (Another typo in
	from the 2002-12-12 patch).
2002-12-14 05:25:42 +00:00
Ralf Corsepius ade3aa6704 2002-12-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Fix typo in yesterday's patch.
2002-12-13 03:55:18 +00:00
Ralf Corsepius a2e4e4964c 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Makefile.am: Don't create $ARCH.
2002-12-12 18:20:27 +00:00
Ralf Corsepius 16f417c116 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Don't create $ARCH.
	Use install-data-local to install librtemscpu.a
2002-12-12 17:56:50 +00:00
Ralf Corsepius dd695d81b6 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Merge-in kern/Makefile.am, net/Makefile.am,
	netinet/Makefile.am, netinet/Makefile.am, nfs/Makefile.am,
	rtems/Makefile.am.
	* kern/Makefile.am: Remove.
	* net/Makefile.am: Remove.
	* netinet/Makefile.am: Remove.
	* nfs/Makefile.am: Remove.
	* rtems/Makefile.am: Remove.
	* wrapup/Makefile.am: Reflect changes above.
	* configure.ac: Ditto.
2002-12-12 12:15:00 +00:00
Ralf Corsepius 2eb04b25f9 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Don't create $ARCH as side-effect of compilation.
2002-12-12 06:31:49 +00:00