summaryrefslogtreecommitdiffstats
path: root/sys/netncp/ncp_ncp.c
Commit message (Collapse)AuthorAgeFilesLines
* /* -> /*- for license, minor formatting changesimp2005-01-071-1/+1
|
* Add missing zero flag argument.phk2004-10-121-1/+1
|
* size_t != int. Make this compile on 64 bit platforms (eg: amd64).peter2003-07-241-1/+2
| | | | Also, "u_short value; if (value > 0xffff)" can never be true.
* Use __FBSDID().obrien2003-06-111-2/+3
|
* - Merge struct procsig with struct sigacts.jhb2003-05-131-1/+3
| | | | | | | | | | | | | | | | | - Move struct sigacts out of the u-area and malloc() it using the M_SUBPROC malloc bucket. - Add a small sigacts_*() API for managing sigacts structures: sigacts_alloc(), sigacts_free(), sigacts_copy(), sigacts_share(), and sigacts_shared(). - Remove the p_sigignore, p_sigacts, and p_sigcatch macros. - Add a mutex to struct sigacts that protects all the members of the struct. - Add sigacts locking. - Remove Giant from nosys(), kill(), killpg(), and kern_sigaction() now that sigacts is locked. - Several in-kernel functions such as psignal(), tdsignal(), trapsignal(), and thread_stopped() are now MP safe. Reviewed by: arch@ Approved by: re (rwatson)
* - Move p->p_sigmask to td->td_sigmask. Signal masks will be per thread withjeff2003-03-311-2/+3
| | | | | | | a follow on commit to kern_sig.c - signotify() now operates on a thread since unmasked pending signals are stored in the thread. - PS_NEEDSIGCHK moves to TDF_NEEDSIGCHK.
* Catch up with KSE changes.fjoe2003-02-261-26/+31
| | | | Reviewed by: tjr
* Lock proc while accessing p_siglist p_sigmask and p_sigignore.tjr2003-02-141-1/+5
| | | | Not tested because netncp does not compile.
* Change iov_base's type from `char *' to the standard `void *'. Allmike2002-10-111-1/+2
| | | | | uses of iov_base which assume its type is `char *' (in order to do pointer arithmetic) have been updated to cast iov_base to `char *'.
* Back our kernel support for reliable signal queues.jmallett2002-10-011-3/+2
| | | | Requested by: rwatson, phk, and many others
* Convert use of p_siglist and old SIG*() macros to use <sys/ksiginfo.h>jmallett2002-09-301-2/+3
| | | | | | prototyped functions to get a sigset_t, and further to check for any queued signals, rather than an empty signal set, to go with the move to signal queues rather than signal sets.
* Update to C99, s/__FUNCTION__/__func__/,obrien2001-12-101-1/+1
| | | | also don't use ANSI string concatenation.
* Fix warning: 203: implicit declaration of function `kernel_sysctlbyname'peter2001-06-151-0/+1
|
* Use new kernel_sysctlbyname function. Remove private copy.jlemon2001-05-191-2/+2
|
* Move bindery authentication ncps to ncp_ncp.c file. ncp_login.c will staybp2001-03-221-0/+101
| | | | empty for a while.
* Properly set flags on the broken connection.bp2001-03-221-3/+3
|
* Major update of NCP requester:bp2001-03-101-421/+202
| | | | | | | | | | | | | | | | | Use mchain API to work with mbuf chains. Do not depend on INET and IPX options. Allocate ncp_rq structure dynamically to prevent possible stack overflows. Let ncp_request() dispose control structure if request failed. Move all NCP wrappers to ncp_ncp.c file and all NCP request processing functions to ncp_rq.c file. Improve reconnection logic. Misc style fixes.
* Add missing initialization which could lead to kernel panic.bp1999-10-291-0/+1
|
* Remove unnessary includes.bp1999-10-121-3/+0
|
* Import kernel part of ncplib: netncp and nwfsbp1999-10-021-0/+613
Reviewed by: msmith, peter Obtained from: ncplib
OpenPOWER on IntegriCloud