OpenBSD CVS

CVS log for src/usr.bin/cvs/Attic/cvsd.c


[BACK] Up to [local] / src / usr.bin / cvs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20, Wed Apr 6 22:08:53 2005 UTC (19 years, 1 month ago) by joris
Branch: MAIN
CVS Tags: HEAD
Changes since 1.19: +1 -1 lines
FILE REMOVED



remove dead and unused code

ok jfb@

Revision 1.19 / (download) - annotate - [select for diffs], Sun Apr 3 17:32:50 2005 UTC (19 years, 1 month ago) by xsa
Branch: MAIN
Changes since 1.18: +9 -9 lines
Diff to previous 1.18 (colored)

first round of EX_* exit codes removal; ok joris@.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Feb 22 22:33:01 2005 UTC (19 years, 2 months ago) by jfb
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.17: +82 -291 lines
Diff to previous 1.17 (colored)

Split the cvs daemon into two different processes: cvsd and cvsd-child.
The cvsd process only takes care of managing children and repository
locks, while the child handles all requests made to access or modify
the contents of the repository.
This will allow us to take advantage of randomized library remapping
and new propolice cookies, and minimizes the amount of code that can
run with elevated privileges.  Still work in progress.

suggested by deraadt@

Revision 1.17 / (download) - annotate - [select for diffs], Tue Feb 15 15:17:34 2005 UTC (19 years, 3 months ago) by jfb
Branch: MAIN
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

avoid crashing when setting a variable with cvsd_set() that was not
initialized with a dynamically-allocated string.

spotted by mpech@

Revision 1.16 / (download) - annotate - [select for diffs], Tue Dec 14 19:53:12 2004 UTC (19 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

add missing '\t' in usage(); okay jfb@.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Dec 9 22:07:40 2004 UTC (19 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

fix pointer of type `void *' used in arithmetic warning; ok jfb@.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Dec 7 17:10:56 2004 UTC (19 years, 5 months ago) by tedu
Branch: MAIN
Changes since 1.13: +12 -25 lines
Diff to previous 1.13 (colored)

less whitespace, more pretty.  ok jfb

Revision 1.13 / (download) - annotate - [select for diffs], Mon Dec 6 21:03:12 2004 UTC (19 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.12: +9 -15 lines
Diff to previous 1.12 (colored)

tighten vertical spacing for else; jfb ok

Revision 1.12 / (download) - annotate - [select for diffs], Sun Nov 28 15:12:17 2004 UTC (19 years, 5 months ago) by pat
Branch: MAIN
Changes since 1.11: +6 -4 lines
Diff to previous 1.11 (colored)

make sure va_end() is always called in all possible paths

ok jfb

Revision 1.11 / (download) - annotate - [select for diffs], Thu Nov 25 18:30:12 2004 UTC (19 years, 5 months ago) by jfb
Branch: MAIN
Changes since 1.10: +39 -33 lines
Diff to previous 1.10 (colored)

Handle CVSD_SET_MODDIR, add session allocation and some minor cleanup

Revision 1.10 / (download) - annotate - [select for diffs], Mon Sep 27 13:42:39 2004 UTC (19 years, 7 months ago) by jfb
Branch: MAIN
Changes since 1.9: +11 -11 lines
Diff to previous 1.9 (colored)

Rename some variables to match the general format, and avoid exporting
variables that aren't needed

Revision 1.9 / (download) - annotate - [select for diffs], Mon Sep 27 12:39:29 2004 UTC (19 years, 7 months ago) by jfb
Branch: MAIN
Changes since 1.8: +32 -19 lines
Diff to previous 1.8 (colored)

Add the `user' and `group' keywords in the configuration file format, so
we can specify alternate users under which the children should run

Revision 1.8 / (download) - annotate - [select for diffs], Mon Sep 27 12:16:05 2004 UTC (19 years, 7 months ago) by jfb
Branch: MAIN
Changes since 1.7: +91 -53 lines
Diff to previous 1.7 (colored)

Simplify signal handling by having only one handler that sets the proper
variables, and add support for reporting via SIGINFO.  Also add a way to
change the user and group for privilege separation of the children.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Sep 25 12:21:43 2004 UTC (19 years, 7 months ago) by jfb
Branch: MAIN
Changes since 1.6: +114 -21 lines
Diff to previous 1.6 (colored)

Most of the code to handle SIGCHLD and spawn new children whenever
one dies.  Also fix cvsd_set() by making a copy of the string passed
as argument.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Sep 24 12:19:21 2004 UTC (19 years, 7 months ago) by jfb
Branch: MAIN
Changes since 1.5: +11 -5 lines
Diff to previous 1.5 (colored)

Add a `-h' option to print the usage and exit with status 0 and fix
usage() indentation

Revision 1.5 / (download) - annotate - [select for diffs], Fri Aug 6 20:09:22 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN
Changes since 1.4: +1 -0 lines
Diff to previous 1.4 (colored)

Fix the SIGINT handler

Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 2 15:59:38 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN
Changes since 1.3: +0 -2 lines
Diff to previous 1.3 (colored)

Unused variables

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jul 25 03:29:35 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN
Changes since 1.2: +188 -26 lines
Diff to previous 1.2 (colored)

* rework on the child API, still needs more functionality
* move the ACL parsing code into the more general conf.y, which handles
  parsing of the whole configuration file

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 16 01:46:16 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.1: +3 -10 lines
Diff to previous 1.1 (colored)

Fix cvsd_privdrop() so we don't just drop effective IDs but all of them,
and call it instead of doing it by hand.  Noticed by and original patch
by Daniel Weeks

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Tue Jul 13 22:02:40 2004 UTC (19 years, 10 months ago) by jfb
Branch: OpenCVS
CVS Tags: OpenCVS_0_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

* initial import from the cvs-tools module

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jul 13 22:02:40 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.