Commit Graph

1346 Commits

Author SHA1 Message Date
christos 71a5eeb0d1 - The new cron keeps time internally as localtime. Revert to previous behavior
of keeping UTC, and handle timezones the way we handled them before (CRON_TZ).
  The old behavior can be selected with defining CRON_LOCALTIME.
- Provide functions to pretty-print crontab entries.
2010-05-18 21:49:51 +00:00
christos e8894454ad Forgot to commit this:
Bring back the default to allow any user to install crontabs.
2010-05-18 21:47:43 +00:00
martin 5a6d00fa0a From Matt Thomas, suggested upstream:
* atof-generic.c (atof_generic): recognize snan and qnan in
	addition to nan and inf.
	* atof-vax.c (flonum_gen2vax): deal properly with nan, snan, qnan,
	and +Inf and -Inf codes.

This fixes PR toolchain/43303.
2010-05-16 11:20:01 +00:00
nonaka 58d5f137df Added keyboard config files for Sharp WS003SH/WS007SH. 2010-05-15 15:34:09 +00:00
joerg aadf945d53 Reorder section. Use .Ex -std. 2010-05-14 16:51:32 +00:00
christos 1cf23224e9 make things compile. 2010-05-14 15:30:39 +00:00
joerg 1a718ba56a ASCII cleaness 2010-05-14 03:14:41 +00:00
joerg f6ab6a9c5a Proper markup for example. Use <> include style. Bump date. 2010-05-14 03:02:13 +00:00
joerg 3b5bdd41e8 \\ -> \e 2010-05-14 01:48:11 +00:00
joerg 26593da519 Fix .At argument. 2010-05-13 22:35:57 +00:00
christos 58f9040724 implement fullcmd mode. Now we need to modernize the machine specific code
to handle displays > 80 columns to make this work effectively.
2010-05-12 22:09:36 +00:00
haad 04d9252504 Fix userspace cv_timedwait implementation to work on NetBSD. 2010-05-11 22:18:10 +00:00
haad c84b9426dd Disable building of stub_stand.c we build all locking primitives in libzpool. 2010-05-10 06:27:57 +00:00
haad 0fbd0bfd4f If thread_create was called with thread_id = NULL use our local thread id
as replacement otherwise we will crash.
2010-05-10 06:26:11 +00:00
haad 4296646a10 Fix spa_thread to compile under the NetBSD. 2010-05-10 06:15:28 +00:00
haad fd29a8703f Get new vnode when creating zfs share dir for it's znode. 2010-05-10 06:10:59 +00:00
jmmv e57b6942da Make the .pc file rules depend on the Makefile so that when rebuilding
the tree with MKUPDATE=yes set after an atf upgrade, the .pc files get
the correct version in them.

Suggested by njoly@ in private mail.
2010-05-08 16:57:24 +00:00
wiz 6f0c1d2e97 Remove trailing whitespace; new sentence, new line; sort sections;
standardize SYNOPSIS; use serial comma.
2010-05-08 11:55:01 +00:00
jmmv ac02bdbd72 Update reachover Makefiles for atf 0.8. 2010-05-08 08:12:33 +00:00
jmmv 0f0f09ce18 Merge atf 0.8. 2010-05-08 08:11:03 +00:00
jmmv 407d776158 Import atf 0.8. Changes in this release:
* Test programs no longer run several test cases in a row. The execution
  of a test program now requires a test case name, and that single test
  case is executed. To execute several test cases, use the atf-run
  utility as usual.

* Test programs no longer fork a subprocess to isolate the execution of
  test cases. They run the test case code in-process, and a crash of the
  test case will result in a crash of the test program. This is to ease
  debugging of faulty test cases.

* Test programs no longer isolate their test cases. This means that they
  will not create temporary directories nor sanitize the environment any
  more. Yes: running a test case that depends on system state by hand
  will most likely yield different results depending on where (machine,
  directory, user environment, etc.) it is run. Isolation has been moved
  to atf-run.

* Test programs no longer print a cryptic format (application/X-atf-tcs)
  on a special file channel. They can now print whatever they want on
  the screen. Because test programs can now only run one test case every
  time, providing controlled output is not necessary any more.

* Test programs no longer write their status into a special file
  descriptor. Instead, they create a file with the results, which is
  later parsed by atf-run. This changes the semantics of the -r flag.

* atf-run has been adjusted to perform the test case isolation. As a
  result, there is now a single canonical place that implements the
  isolation of test caes. In previous releases, the three language
  bindings (C, C++ and shell) had to be kept in sync with each other
  (read: not a nice thing to do at all). As a side effect of this
  change, writing bindings for other languages will be much, much easier
  from now on.

* atf-run forks test programs on a test case basis, instead of on a test
  program basis as it did before. This is to provide the test case
  isolation that was before implemented by the test programs themselves.

* Removed the atf-exec tool. This was used to implement test case
  isolation in atf-sh, but it is now unnecessary.

* It is now optional to define the descr meta-data property. It has been
  proven to be mostly useless, because test cases often carry a
  descriptive name of their own.
2010-05-08 08:05:13 +00:00
christos 979605cffd specify bindir 2010-05-07 21:54:07 +00:00
christos b8f08142d6 change to mandoc 2010-05-07 20:43:40 +00:00
christos dcb0cbe948 bump crontab limit to 256K per the old manual page. 2010-05-07 20:43:27 +00:00
christos 8d5d5ded4d unhook old cron, hook new one. 2010-05-07 17:35:31 +00:00
christos 6611a4be6f remove the +1 second. Otherwise jobs that are supposed to run at 10:00:00,
run at 10:00:01 which is tolerable because cron has a 1 minute granularity,
but confusing. This restores the old behavior with the new timing logic.
2010-05-07 17:12:00 +00:00
christos c3f423a27c for posterity. 2010-05-06 23:19:56 +00:00
christos 32d0172f96 remember to restore the original timezone. 2010-05-06 22:38:14 +00:00
haad 4d91be73cd Disable uvm_reclaim_hook for userland builds. 2010-05-06 22:35:37 +00:00
haad ffca0f125a Fix difference btween solaris cv_timedwait and NetBSD one. NetBSD takes
offset from current time and solaris exact time from unix born.
2010-05-06 22:31:46 +00:00
haad 6e62dfc5b4 Fix zfs version 22 merge error. 2010-05-06 22:26:55 +00:00
christos c809afbc3f - change times to time_t
- use the correct time in job_add
- bring back CRON_TZ
2010-05-06 21:50:16 +00:00
christos 1f7f15c404 Add build glue. 2010-05-06 18:58:45 +00:00
christos 032a439890 apply our changes. 2010-05-06 18:53:17 +00:00
christos 0061c6a57d import cron 4.1 2010-05-06 18:50:28 +00:00
darran 80dda7416d DTrace: print a warning no CTF section is found when processing arguments.
This should help diagnose problems such as netbsd images without CTF
sections and old boot loaders.
2010-05-03 09:28:38 +00:00
haad 4673d87178 Add _mutex_held routine to test if mutex_t * is held. 2010-05-03 00:31:32 +00:00
haad 91b542a3db In NetBSD pool cache constructor/destructor routines has inverted arguments.
C
2010-05-02 23:59:54 +00:00
haad 951cf32ac2 Initialize system_taskq during taskq init. This fixes ztest crash in taskq_dispatch. 2010-05-02 23:50:34 +00:00
christos 3f874b5444 reflect reality. 2010-05-01 19:51:33 +00:00
tonnerre 89ba794efc Prevent ntpd instances from sending MODE_PRIVATE error responses back and
forth. This resolves CVE-2009-3563, but it should be noted that nobody uses
this code so far, so this is more of a preventive update than a security
one.
2010-04-25 22:50:11 +00:00
joerg 323fc69705 Update build glue for pkg_install-20100421 2010-04-23 20:56:01 +00:00
joerg 8164e2ede7 Merge pkg_install-20100421 2010-04-23 20:55:31 +00:00
joerg 0e7c882236 pkg_install-20100421:
Fix an off-by-one in the check for properly sized pkgdb entries.
It rejected perfectly valid entries.

Extract dependencies of libarchive from the pkgconfig file and thereby
drop knowledge of the needed libraries.

At least some versions of HP-UX are known to not support %zu, add a
workaround. This is using the black list approach for now.

Recognize xz as compression type for pkg_create.

The first time an error is hit while fetching packages, try to reget
from the same position. This works around the server closing the
connection while fetching dependencies.

Try to detect common forms of pkgdb corruption and issue a warning in
that case.

Refactor the pkg_vulnerabilities logic to use the compression support
from libarchive. This reduces the amount zlib/bzip2 interaction to
the linkage.

Add man pages for audit-packages and download-vulnerability-list which
point to pkg_admin and notes that the scripts are obsolete.
2010-04-23 20:54:06 +00:00
joerg 22c838d332 Add MKBSDTAR, defaulting to no. It switching cpio and tar to the
libarchive based frontends.
2010-04-23 19:41:02 +00:00
ahoka 9db315bb61 Add a missing parentheses. 2010-04-23 16:44:10 +00:00
ahoka 290cdd631e Remove a couple of zero length kmem_frees.
It should fix at least one crash when unloading the dtrace module,
possibly many others.
2010-04-23 11:39:52 +00:00
agc 208f5497e4 implement the REG_STARTEND extension using tre_regnexec - REG_STARTEND is
used by mail(1), and file(1), to name but two.
2010-04-22 17:33:54 +00:00
agc 64ac94149c don't include parameter names in the namespace for function prototypes.
define REG_STARTEND

include tre-config.h inplace in tre.h, since it is small, always gets
included anyway, and this means that we don't have to install tre-config.h
in the dest tree. this will be addressed differently long-term.
2010-04-22 17:32:37 +00:00
agc 663ce0da65 clean up some lint 2010-04-22 17:28:59 +00:00