readbuffer
writebuffer
trivsoundd
+really
RWBUFFER_SIZE_MB=16
-PROGRAMS= readbuffer writebuffer
-DAEMONS= trivsoundd
-MAN1PAGES= readbuffer.1 writebuffer.1
-MAN8PAGES= trivsoundd.8
+PROGRAMS= readbuffer writebuffer
+SUIDSBINPROGRAMS= really
+DAEMONS= trivsoundd
+MAN1PAGES= readbuffer.1 writebuffer.1
+MAN8PAGES= trivsoundd.8
-TARGETS= $(PROGRAMS) $(DAEMONS)
+TARGETS= $(PROGRAMS) $(SUIDSBINPROGRAMS) $(DAEMONS)
all: $(TARGETS)
readbuffer: readbuffer.o rwbuffer.o
writebuffer: writebuffer.o wrbufcore.o rwbuffer.o
trivsoundd: trivsoundd.o wrbufcore.o rwbuffer.o
+really: really.o myopt.o
+
+really.o myopt.o: myopt.h
readbuffer.o writebuffer.o rwbuffer.o wrbufcore.o trivsoundd.o: rwbuffer.h
install: all
$(INSTALL_DIRECTORY) $(bindir) $(sbindir)
$(INSTALL_PROGRAM) $(PROGRAMS) $(bindir)
$(INSTALL_PROGRAM) $(DAEMONS) $(sbindir)
+ $(INSTALL) -m 4774 root.$(SYSTEM_GROUP) \
+ $(SUIDSBINPROGRAMS) $(sbindir)
install-docs:
$(INSTALL_DIRECTORY) $(man1dir) $(man8dir) $(txtdocdir)
-/**/
+/*
+ * really.c - program for gaining privilege
+ *
+ * Copyright (C) 1992-3 Ian Jackson <iwj10@cus.cam.ac.uk>
+ *
+ * This is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2,
+ * or (at your option) any later version.
+ *
+ * This is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this file; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
#include <stdio.h>
#include <stdlib.h>
-/**/
+/*
+ * smtpallow.c - ld_preload for hacking with connect() !
+ *
+ * Copyright (C) 1994,1995 Ian Jackson <iwj10@cus.cam.ac.uk>
+ *
+ * This is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2,
+ * or (at your option) any later version.
+ *
+ * This is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this file; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
#include <syscall.h>
#include <sys/socketcall.h>
#!/usr/bin/perl
+# cvsweb-list
+# This little program produces a web page listing the cvs repositories
+# available by ucgi cvsweb. It doesn't really separate code and
+# configuration, so it's not installed by default with chiark-utils.
+
+# This file is part of chiark-utils, a collection of useful programs
+# used on chiark.greenend.org.uk.
+#
+# This file is:
+# Copyright (C) 2001 Ian Jackson <ian@chiark.greenend.org.uk>
+#
+# This is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2, or (at your option) any later version.
+#
+# This is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+# details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
print <<END or die $!;
Content-Type: text/html
# with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+CONFIG_CPPFLAGS= -DRWBUFFER_SIZE_MB=$(RWBUFFER_SIZE_MB) \
+ -DREALLY_CHECK_FILE='"/etc/inittab"'
+
CC= gcc
CFLAGS= $(WARNINGS) $(OPTIMISE) $(DEBUG)
-CPPFLAGS= -DRWBUFFER_SIZE_MB=$(RWBUFFER_SIZE_MB)
+CPPFLAGS= $(CONFIG_CPPFLAGS)
WARNINGS= -Wall -Wwrite-strings -Wmissing-prototypes \
-Wstrict-prototypes -Wpointer-arith