e new root file system,
which may be undesirable.
It may be better to use the original argv[0]. The kernel passes a full
pathname here.
While reading the code, I noticed another issue. The kill(-1, SIGKILL)
may fail with [ESRCH] if there is no process to kill. In this case, the
reroot should co
find
first, for example by checking what has been copied already) for
writing, like : >/path/to/some/fifo. It will be replaced with an empty
file at the destination.
--
Jilles Tjoelker
___
freebsd-stable@freebsd.org mailing list
https://lists.fre
On Sat, Aug 29, 2015 at 04:41:30PM +0300, Konstantin Belousov wrote:
> On Sat, Aug 29, 2015 at 03:01:38PM +0200, Jilles Tjoelker wrote:
> > Looks good to me, except that I think a vforked child (in system() and
> > posix_spawn*()) should use the system calls and not libthr'
ls and not libthr's wrappers.
This reduces the probability of weird things happening between vfork and
exec, and also avoids an unexpected error when
posix_spawnattr_setsigdefault()'s mask contains SIGTHR.
--
Jilles Tjoelker
___
freebsd
really needed?
The cfmakeraw() call ensures that the processes running within script
get all control characters. For example, you can suspend a job in the
inner shell using Ctrl+Z. This indeed makes it impossible to suspend
script itself.
--
Jilles Tjoelker
__
4/frame 0xc5a08a34
> >> vfs_donmount(c84c42f0,1,0,c84cf200,c84cf200,…) at
> >> vfs_donmount+0x1423/frame 0xc5a08c24
> >> sys_nmount(c84c42f0,c5a08ccc,c5a08cc4,1010006,c5a08d08,…) at
> >> sys_nmount+0x7f/frame 0xc5a08c48
> >> sy
n you can
use; in older versions you can use hexdigit and hexprint from
network.subr.
--
Jilles Tjoelker
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "f
On Fri, Sep 21, 2012 at 10:26:37PM +, David O'Brien wrote:
> On Fri, Sep 21, 2012 at 07:34:06PM +0200, Jilles Tjoelker wrote:
> > On Fri, Sep 21, 2012 at 10:09:02AM -0700, David Wolfskill wrote:
> > > $ echo $(( ( $( date +%m ) - 1 ) / 3 + 1 ))
> > >
ough it is not in POSIX.
With POSIX only, it is still possible to do it reasonably efficiently,
for example $(( 1$(date +%m) - 100 )) or v=$(date +%m); v=${v#0}.
--
Jilles Tjoelker
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
ve information in kernel memory;
it cannot be permitted in a jail.
--
Jilles Tjoelker
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
THLEN, then repeating the process with relative pathnames until the
remaining part is shorter than MAXPATHLEN).
--
Jilles Tjoelker
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
right-hand side of this.
This does not handle all possible characters in filenames, such as a
newline. The perlrun manpage suggests something with find's -print0
primary. Alternatively, use find's -unlink primary.
--
Jilles Tjoelker
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
if (--ts->ts_slice > 0)
> - return;
> - /*
>* We're out of time, force a requeue at userret().
>*/
> ts->ts_slice = sched_slice;
> and refusal to use options FULL_PREEMPTION
> But no one has unsubscribed
disable
the echoing but this may cause problems if the application is changing
termios settings concurrently and generally feels bad.
It may be best to remove writing EOF characters, perhaps adding an
option to enable it again if there is a concrete use case for it.
--
Jilles Tjoelker
_
On Thu, Aug 25, 2011 at 12:29:29AM +0300, Kostik Belousov wrote:
> On Wed, Aug 24, 2011 at 10:56:09PM +0200, Jilles Tjoelker wrote:
> > sigwait() was fixed not to return EINTR in 9-current in r212405 (fixed
> > up in r219709). The discussion started at
> > http://lists.
freebsd-threads/2010-September/004892.html
Solaris is simply wrong in the same way we were wrong. Although POSIX
may not be as clear on this as one may like, its intention is clear and
additionally not returning EINTR reduces subtle portability problems.
Note that sigwaitinfo() and sigtimedwait()
roken links?
A better answer to your original question was already given, but for
that command, isn't it sufficient to do
if ! [ -e $link ]; then rm $link; fi
All test(1)'s primaries that test things about files follow symlinks,
except for -h/-L.
--
Jilles Tjoelker
__
tp://chris.dzombak.name/files/openssl/openssl-0.9.8l-symbolVersioning.diff
http://rt.openssl.org/Ticket/Display.html?id=1222&user=guest&pass=guest
--
Jilles Tjoelker
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
fix but still needs extra effort. (For
example, pkg-config has Libs.private to help with it.)
If you want to link dynamically but avoid too much management overhead,
consider using PCBSD's PBI system which allows you to ship all necessary
.so files (except system ones) with your application.
may be caused by a stray utmpx related
file found by the configure process. Partly because the various unix
variant developers have made a mess of utmp/utmpx, the code to use it is
rather fragile.
--
Jilles Tjoelker
___
freebsd-stable@freebsd.org ma
ns with daemon(8),
/dev/null 2>&1 or similar is inferior to implementing
daemonizing in the program itself. Think of the poor soul who needs to
install and start N daemons full of bugs and configuration errors: it is
better if such errors show up on the console instead of being hidden
away
ested a lot of cases for the timeout value,
> overriding a pool specific value and overriding the default where some
> of them and all worked.
> If you have a case where it does not work, it would be nice if you
> could add a "set -x" in the beginning of the script
does not cause problems.
--
Jilles Tjoelker
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
unlikely to help you.
Similarly, SIGPIPE may be blocked (masked). Few programs expect this.
The -i and -j options in procstat should be helpful in finding what
exactly is wrong with SIGPIPE. (These options are relatively new, but
should be in 8.1.)
--
Jilles Tjoelker
e messages can be ignored,
but indicate that CPU time statistics may be inaccurate.
I suppose fairly arbitrary changes can cause the messages to appear or
disappear.
--
Jilles Tjoelker
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
27;I'. awk(1) knows about this and generates a file that
conforms to Turkish conventions but obviously will not work.
As a workaround, you can run your builds with LC_ALL=C in the
environment, disabling locale support. (e.g. env LC_ALL=C make
buildkernel).
This should be fixed by adding LC_ALL=C somewhere in the build process,
possibly only for these awk commands.
--
Jilles Tjoelker
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
92722 tclsh8.5 RET sigreturn JUSTRETURN
92722 tclsh8.5 CALL close(0x5)
92722 tclsh8.5 RET close 0
92722 tclsh8.5 CALL close(0x4)
92722 tclsh8.5 RET close 0
It seems unwise to assume that a write(2) of 0 bytes is a noop.
Even if it is, doing it is a waste of a s
Sun Nov 23 20:23:57 2008 UTC (7 months, 3 weeks ago) by stefanf
Fix $? at the first command of a function. The previous exit status was saved
twice and thus lost.
--
Jilles Tjoelker
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd
e again.
To cope with this, it's best to use mergemaster's -F or -U options.
This question has been asked before.
--
Jilles Tjoelker
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To un
s.
If process-shared semaphores really work, then the above structure is
not a pathological case. Effectively, sem_t is carved in stone. So
process-private semaphores should continue to have most of their stuff
in a separately allocated structure, to preserve flexibility.
Perhaps a better method
is much easier than adding menu entries manually.
XFCE also needs the desktop files in the new location.
See http://standards.freedesktop.org/menu-spec/latest/ for more
information.
--
Jilles Tjoelker
___
freebsd-stable@freebsd.org mailing list
http://li
ehaviour.
Adding #include fixes it.
The file is slightly changed in CURRENT but the same patch should apply.
--
Jilles Tjoelker
--- src/lib/libutil/expand_number.c.orig 2007-09-05 16:27:13.0 +0200
+++ src/lib/libutil/expand_number.c 2008-07-06 13:11:02.766238000 +0200
@@ -33,6 +
buf() will handle a BO_SYNC/ffs_syncvnode()
error by aborting with an error return. It seems that in most cases
this will cause the operation invoking the vinvalbuf() to fail.
However, in at least one case (vm_object_terminate()), the error will be
ignored; this may cause old garbage/da
0 _argv'
> > _fp_match='case "$_arg0" in
> > -
> > $_procname|$_procnamebn|${_procnamebn}:|"(${_procnamebn})")'
> > +
> > "$_procname"|$_procnamebn|${_procnameb
that way. rc.d scripts do not call one another. The "#
REQUIRE:" lines affect rcorder(8) so it should be ok on bootup.
--
Jilles Tjoelker
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
ease it, even when you subsequently load ums. This happens before
usbd gets to know about the device.
A somewhat crude workaround would be to load the drivers for the devices
to be used before starting usbd. This would mean /boot/loader.conf, most
likely.
--
Jilles Tjoelker
_
is supported, the
ru_i?rss ticks are often not described at all or they are something
strange like one per second. Consequently, this facility is nonportable
and the tick frequency should be described using sysctl().
--
Jilles Tjoelker
___
freebsd-stable@
session9112K 14K20158 128
pgrp99 7K 8K25399 64
mtx_pool 1 8K 8K1
module 18612K 12K 186 64,128
MSDOSFS mount 1 128K128K1
ip6ndp 9 1K 1K 13 64,128
ip6opt 0 0K 2K
ke the
> > scanner is not found for one reason or another.
Try all USB ports on your computer; use MAKEDEV to create /dev/usb1,
/dev/usb2, etc (they are not created by default).
--
Jilles Tjoelker
___
freebsd-stable@freebsd.org mailing list
h
nown file type 5 for file 10 of pid 20328
unknown file type 5 for file 12 of pid 20328
can't read pipe at 0x0
peters zsh20328 13* error
[EMAIL PROTECTED] /home/jilles%
--
Jilles Tjoelker
___
freebsd-stable@freebsd.org mailing list
http:/
40 matches
Mail list logo