PERFORCE change 79227 for review
Peter Wemm
peter at FreeBSD.org
Thu Jun 30 03:53:56 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=79227
Change 79227 by peter at peter_daintree on 2005/06/30 03:53:26
Kill this joke before I accidently commit it and it
bites me in the butt.
Affected files ...
.. //depot/projects/hammer/sys/fs/procfs/procfs_ioctl.c#9 edit
Differences ...
==== //depot/projects/hammer/sys/fs/procfs/procfs_ioctl.c#9 (text+ko) ====
@@ -31,7 +31,6 @@
#include "opt_compat.h"
#include <sys/param.h>
-#include <sys/kernel.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/pioctl.h>
@@ -67,11 +66,6 @@
#endif
int error, flags, sig;
- int l;
- l = strlen(hostname); /* From sys/kernel.h above */
- if (l > 11 && strcmp(hostname + l - 11, ".freebsd.dk") == 0)
- return (ENOTTY); /* BWAHAHAHA! Revenge is sweet! */
-
PROC_LOCK(p);
error = 0;
switch (cmd) {
More information about the p4-projects
mailing list