summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1995-08-01(pipe_recv): Get rid of code to deal with getting the source address from theMiles Bader
control packet if there is no data packet, since pipe_write always writes a data packet.
1995-07-31(connq_compress): New function.Miles Bader
(connq_interrupt_sock): Use connq_compress to compress the queue.
1995-07-31(pipe_recv): Assert that a control packet should only have a source addressMiles Bader
if there is no corresponding data packet. (pipe_send): Change the test to determine whether we should write a control packet, so that we only do so if we need to. Also, don't record the source address in control packets, as it's recorded in the following data packet anyway, and this prevents it from being dealloc'd twice.
1995-07-31(connq_interrupt_sock): Reset CQ's tail to the end of the compressed queue.Miles Bader
1995-07-31(stream_pipe_class, dgram_pipe_class, seqpack_pipe_class):Miles Bader
Make these declarations extern so they don't fuck up initialization. (seqpacket_pipe_class): Renamed to `seqpack_pipe_class'.
1995-07-31(diskfs_S_ifsock_getsockaddr): Try to restart the PF_LOCAL server if it dies.Miles Bader
1995-07-31DISTFILES -> DIST_FILES.Michael I. Bushnell
1995-07-31(SRCS): Added unzip.c, util.c, and inflate.c.Michael I. Bushnell
1995-07-30(S_socket_connect): Actually use the connq operations to connect, like theMiles Bader
listening socket is expecting, instead of connecting directly to it. (S_socket_connect): Use the CONNECT_QUEUE field to allow only a single connection attempt at once. (S_socket_connect): Check for already-connected sockets here instead of waiting for the final rendezvous. (S_socket_connect): Return ECONNREFUSED when trying to connect to a non-existant address, instead of EADDRNOTAVAIL. Rename all uses of the CONNQ field in struct sock to LISTEN_QUEUE.
1995-07-30(sock_create): Initialize the CONNECT_QUEUE field and rename CONNQ toMiles Bader
LISTEN_QUEUE.
1995-07-30(connq_interrupt_sock): New declaration.Miles Bader
(connq_interrupt): New declaration.
1995-07-30(struct sock): Add the CONNECT_QUEUE field, and rename the CONNQ field toMiles Bader
LISTEN_QUEUE.
1995-07-30(connq_interrupt_sock): New function.Miles Bader
(connq_interrupt): New function. (connq_set_length): When shrinking the queue, actually do so, and don't leak memory. (struct connq): Add the INTERRUPT_SEQ_NUM field, used to detect interupts. (connq_listen): Detect when we get interrupted, and return EINTR. Don't lock the accepted request just to get its sock. (connq_connect): Initialize REQ before using it. (connq_request_init): Swap the arguments. (connq_listen, connq_connect, connq_interrupt, connq_set_length): Reverse the roles of the HEAD and TAIL fields, and make sure they're used correctly. (qprev): Deleted function.
1995-07-30(S_interrupt_operation): Allow sockets trying to connect, and waiting forMiles Bader
connections to be interrupted. Change references to the CONNQ field in struct sock to LISTEN_QUEUE.
1995-07-29(diskfs_drop_node): Don't actually drop the node if it is a socket namingMiles Bader
point, unless it also has no links.
1995-07-29entered into RCSMiles Bader
1995-07-26(lib-subdirs): Added libpipe.Miles Bader
(prog-subdirs): Added pflocal.
1995-07-26Initial revisionMiles Bader
1995-07-26entered into RCSMiles Bader
1995-07-26entered into RCSMiles Bader
1995-07-26entered into RCSMiles Bader
1995-07-26Formerly pf.c.~9~Miles Bader
1995-07-25(main): Don't pass in the MACH_RCV_TIMEOUT flag with a zero timeout.Miles Bader
1995-07-25Formerly io.c.~12~Miles Bader
1995-07-25Formerly sock.c.~14~Miles Bader
1995-07-25Initial revisionMiles Bader
1995-07-23(DIST_FILES): Removed `missing'.Michael I. Bushnell
1995-07-23(dist): Include date in snapshot name.Michael I. Bushnell
1995-07-23(DIST_FILES): sh.ChangeLog -> shd.ChangeLog.Michael I. Bushnell
1995-07-23Formerly sock.c.~13~Miles Bader
1995-07-22(dev_get_memory_object): A new pager now comes with 1 ref, so we allocate aMiles Bader
ref ourselves when we're using an old one, and once we've created the send right, remove a reference.
1995-07-22(trivfs_S_io_seek): Call open_seek instead of doing it ourselves.Miles Bader
1995-07-22Add declaration for open_seek.Miles Bader
1995-07-22(open_read, open_write): Clean up STATE before returning with an error.Miles Bader
(open_seek): New function. (raw_read, raw_write): Return EINVAL if *OFFS isn't a block boundary.
1995-07-22(zombie_check_pid): Typo.Michael I. Bushnell
1995-07-22(S_proc_setpgrp): Install bletcherous hack.Michael I. Bushnell
1995-07-22(zombie_check_pid): Examine Z->pgrp too.Michael I. Bushnell
1995-07-22(%-lndist, %-clean, %-TAGS): Set no_deps in recursive make.Michael I. Bushnell
1995-07-22Don't include dependency files if no_deps is set.Michael I. Bushnell
1995-07-22entered into RCSMiles Bader
1995-07-22(diskfs_S_file_getcontrol): Fix typo.Michael I. Bushnell
1995-07-22(start_execserver): Tyo.Michael I. Bushnell
1995-07-22Formerly sock.c.~12~Miles Bader
1995-07-22Formerly socket.c.~14~Miles Bader
1995-07-22Formerly pf.c.~8~Miles Bader
1995-07-22entered into RCSMiles Bader
1995-07-22Formerly io.c.~11~Miles Bader
1995-07-22Formerly sock.c.~11~Miles Bader
1995-07-22Formerly io.c.~10~Miles Bader
1995-07-22Formerly sserver.c.~3~Miles Bader