summaryrefslogtreecommitdiff
path: root/usr.sbin/eeprom/main.c
AgeCommit message (Collapse)Author
2002-12-08GNU semantics say that if optstring begins with '-' thenTodd C. Miller
each non-option shall be treated as arguments to option '\1'. BSD getopt match '-' in optstring with a '-' on the command line. This is used to support deprecated options like "su -" that would otherwise prevent the use of getopt(). Resolving this simply requires that the leading '-' be moved somewhere else (I moved it to the end of optstring) since position within optstring is not meaningful.
2002-06-14Get cpu type through sysctl. no more need for kvm.Artur Grabowski
miod says it still needs to be setgid kmem and I don't have time to check the archives for the reason.
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-09-20sparc64 supportJason Wright
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
1998-07-08whack kmem gid after kvm_openfiles()Theo de Raadt
1996-07-22setgid back; from kashmir@umiacs.UMD.EDUTheo de Raadt
1996-05-24fix multi-arg bugTheo de Raadt
1996-03-25From NetBSD: merge of 960317Niklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt