On Fri, Jul 07, 2017 at 05:47:46AM BST, Raf Czlonka wrote:
> Hi all,
>
> I've noticed that etc/ksh.kshrc uses both types of command substitution
> `command` and $(command). The below diff unifies it and uses
> $(command) notation consistently.
>
> While there, [...] remove basename(1) invocation
On Fri, Jul 14, 2017 at 11:56:02AM +, Florian Obser wrote:
> next try
> - sha512
> - fixed key size
> - /etc/soii.key
> - man page tweaks from sthen & jmc and rewording by me to get rid of 48 bits
> - link local address is updated when soii flag is toggled
>
Could /etc/soii.key be added to /e
"Todd C. Miller" writes:
> On Sat, 15 Jul 2017 00:24:05 +0200, Jeremie Courreges-Anglas wrote:
>
>> Wouldn't it be better if we at least tried to properly free what was
>> allocated in parse_file()?
>
> I'm not sure it is worth it since newsyslog is a short-lived process.
> If you feel strongly a
On Sat, 15 Jul 2017 00:24:05 +0200, Jeremie Courreges-Anglas wrote:
> Wouldn't it be better if we at least tried to properly free what was
> allocated in parse_file()?
I'm not sure it is worth it since newsyslog is a short-lived process.
If you feel strongly about this I could take a look at doin
On Sun, Jul 09, 2017 at 08:34:29PM +0300, Artturi Alm wrote:
> Hi,
>
> revived the diff below, i2c tested via pmic's shutdown(), for working
> "shutdown -p now" operation.
> there was only two i2c's w/"status: 'okay'" in the FDT, so not all of
> them do attach.
>
> related part of dmesg:
>
> com
"Todd C. Miller" writes:
> On Fri, 14 Jul 2017 22:59:58 +0200, Jeremie Courreges-Anglas wrote:
>
>> "Todd C. Miller" writes:
>>
>> > On Fri, 14 Jul 2017 22:15:49 +0200, Jeremie Courreges-Anglas wrote:
>> >
>> >> the proposal in
>> >>
>> >> https://marc.info/?l=openbsd-misc&m=150001966325010&
David Gwynne:
> secondly, im always wary of truncating hash output in case it throws away
> some of the guarantees it's supposed to provide. if you cut sha512 output
> down to an 8th of its size, is it 8 times easier to calculate a collision, or
> more than 8 times easier? sha384 being a trunc
On Fri, Jul 14, 2017 at 11:14:38PM +0200, Jeremie Courreges-Anglas wrote:
> I had a diff to (hopefully) free all the allocated memory. But I guess
> that the total amount allocated doesn't matter that much and simpler may
> be better. ok?
OK bluhm@
>
>
> Index: newsyslog.c
> =
Alexander Bluhm writes:
> On Fri, Jul 14, 2017 at 10:15:49PM +0200, Jeremie Courreges-Anglas wrote:
>> I find this more readable.
>
> yes, it is
>
>> /* Step 4, compress the log.0 file if configured to do so and free */
>> -while (p) {
>> +TAILQ_FOREACH_SAFE(p, &runlist, next, tmp) {
On Fri, 14 Jul 2017 22:59:58 +0200, Jeremie Courreges-Anglas wrote:
> "Todd C. Miller" writes:
>
> > On Fri, 14 Jul 2017 22:15:49 +0200, Jeremie Courreges-Anglas wrote:
> >
> >> the proposal in
> >>
> >> https://marc.info/?l=openbsd-misc&m=150001966325010&w=2
> >>
> >> made me look at newsys
"Todd C. Miller" writes:
> On Fri, 14 Jul 2017 22:15:49 +0200, Jeremie Courreges-Anglas wrote:
>
>> the proposal in
>>
>> https://marc.info/?l=openbsd-misc&m=150001966325010&w=2
>>
>> made me look at newsyslog and its manually linked lists. Here's a stab
>> at using TAILQs instead.
>
> Oh go
On Fri, Jul 14, 2017 at 10:15:49PM +0200, Jeremie Courreges-Anglas wrote:
> I find this more readable.
yes, it is
> /* Step 4, compress the log.0 file if configured to do so and free */
> - while (p) {
> + TAILQ_FOREACH_SAFE(p, &runlist, next, tmp) {
> if ((p->flags &
On Fri, 14 Jul 2017 22:15:49 +0200, Jeremie Courreges-Anglas wrote:
> the proposal in
>
> https://marc.info/?l=openbsd-misc&m=150001966325010&w=2
>
> made me look at newsyslog and its manually linked lists. Here's a stab
> at using TAILQs instead.
Oh good, now I don't have to do it ;-)
I ha
Hi,
the proposal in
https://marc.info/?l=openbsd-misc&m=150001966325010&w=2
made me look at newsyslog and its manually linked lists. Here's a stab
at using TAILQs instead.
Notes:
- no attempt is made to free unused entries.
- "free(p)" below isn't enough to properly deallocate the memory us
Hi,
libexpat 2.2.2 has been released, I would like to update it in base.
ok?
bluhm
Index: lib/libexpat/Changes
===
RCS file: /data/mirror/openbsd/cvs/src/lib/libexpat/Changes,v
retrieving revision 1.7
diff -u -p -r1.7 Changes
--- l
On 2017-07-14, Florian Obser wrote:
> --- etc/rc
> +++ etc/rc
> @@ -47,6 +47,14 @@ update_limit() {
> done
> }
>
> +# Apply soii.key settings.
> +soii_key() {
> + stripcom /etc/soii.key |
> + while read _line; do
> + sysctl -q "net.inet6.ip6.soiikey=$_line"
> + do
On Fri, Jul 14, 2017 at 03:43:52PM +, Florian Obser wrote:
> diff --git distrib/miniroot/install.sub distrib/miniroot/install.sub
> index 26cecd81cbc..bf6c562c882 100644
> --- distrib/miniroot/install.sub
> +++ distrib/miniroot/install.sub
> @@ -2988,6 +2988,9 @@ do_upgrade() {
> hostname
On Fri, Jul 14, 2017 at 11:56:02AM +, Florian Obser wrote:
> next try
> - sha512
> - fixed key size
> - /etc/soii.key
> - man page tweaks from sthen & jmc and rewording by me to get rid of 48 bits
> - link local address is updated when soii flag is toggled
>
> If this is the final version I ca
> So with this base is compilable and runnable on AMD64. W.r.t. ports, yes,
> some of those fails. I've not investigated more closely strange failures
> which may be a cause of me not cleaning up fs from previous snapshots -- this
> machine is basically 2 years old snapshots accumulation withoug
On Fri, 14 Jul 2017 20:44:12 +0200
Karel Gardas wrote:
> So with this base is compilable and runnable on AMD64. W.r.t. ports, yes,
> some of those fails. I've not investigated more closely strange failures
> which may be a cause of me not cleaning up fs from previous snapshots -- this
> machin
Hi,
below is another diff of my elf.h cleanup work. I'm still keeping
/usr/include/elf_abi.h to not break GHC and all
Haskell based ports.
What I have done in this version is went thorough whole spec and check
everything in the exec_elf.h. What's not in spec
I commented out with "not in spec"
diff --git distrib/miniroot/install.sub distrib/miniroot/install.sub
index 26cecd81cbc..bf6c562c882 100644
--- distrib/miniroot/install.sub
+++ distrib/miniroot/install.sub
@@ -2988,6 +2988,9 @@ do_upgrade() {
hostname $(stripcom /tmp/i/myname)
THESETS="$THESETS site$VERSION-$(hostn
I added this recently for some additional coverage so we hit link.down
and link.unknown as well.
Rob
Index: ifstated
===
RCS file: /cvs/src/regress/usr.sbin/ifstated/ifstated,v
retrieving revision 1.1
diff -u -p -r1.1 ifstated
--- if
next try
- sha512
- fixed key size
- /etc/soii.key
- man page tweaks from sthen & jmc and rewording by me to get rid of 48 bits
- link local address is updated when soii flag is toggled
If this is the final version I can cut up the diff and send parts if
people prefer. But I also take OKs for the
Remove some unwanted whitespace that creeped in.
Rob
Index: statemachine
===
RCS file: /cvs/src/regress/usr.sbin/ifstated/statemachine,v
retrieving revision 1.1
diff -u -p -r1.1 statemachine
--- statemachine14 Jul 2017 10:41:
And now with log.
ikev2_recv: IKE_SA_INIT request from initiator 37.47.4.5:9911 to
31.178.147.125:500 policy 'roadwarrior' id 0, 652 bytes
ikev2_recv: ispi 0x5e13d636599e1781 rspi 0x
ikev2_policy2id: srcid FQDN/keibi.viq.im length 16
ikev2_pld_parse: header ispi 0x5e13d636599e178
26 matches
Mail list logo