mailing.openbsd.tech
  Home FAQ Contact Sign in
mailing.openbsd.tech only
 
Advanced search
April 2008
motuwethfrsasuw
 123456 14
78910111213 15
14151617181920 16
21222324252627 17
282930     18
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
mailing.openbsd.tech Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  shmget(2) EINVAL is not mentioned in doc         


Author: Dasn
Date: Apr 4, 2008 15:21

I think the shmget(2) can produce EINVAL, which is not mentioned in
its manual page.

$ cat test.c
#include
#include
#include
#include

#define SHMKEY 75
#define K 1024

int
main(void)
{
int shmid;
if ((shmid = shmget(SHMKEY, 64 * K, IPC_CREAT)) == -1)
perror("shmget first");
if ((shmid = shmget(SHMKEY, (64+1) * K, IPC_CREAT)) == -1)
perror("shmget second");
exit(0);
}
Show full article (1.01Kb)
no comments
  -current kernel hangs (amd64/i386) - WAIT no_fltram5         


Author: RD Thrush
Date: Apr 4, 2008 13:01

For almost 2 weeks I have had both amd64 and i386 kernels hang. The
problem first occurred while updating -current ports since the libc
bump. I've found the hang is triggered more quickly by building the
eclipse-sdk port. The hang has occurred on 3 different machines.
Entering ddb always show one process WAITing on "no_fltram5"
(usually javadoc). The hung machines are usually pingable, KB leds
always work and ddb can be entered from the keyboard. A full
problem report, kernel/5777 [1], including dmesgs and ddb report was
filed on 3/23/2008. I have since updated that report with details
about the subsequent hangs found on a Sempron and amd64 laptop.

Sorry to trouble tech@ but no response to the bug report or the 3/27
report on misc@ prompted me to make sure the report hasn't fallen
through the cracks. I suspect getting 4.3 out the door is occupying
serious developer time so no panic.

Let me know if there is further information that would be helpful to
analyze / solve this problem.

[1] <http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yes&textonly=yes&numbers=57...>
no comments
  FOREIGN BUSINESS PARTNERSHIP PROPOSAL         


Author: Raji Hassan
Date: Apr 4, 2008 10:20

Sie sind eingeladen zu "FOREIGN BUSINESS PARTNERSHIP PROPOSAL".

Von Ihrem Gastgeber Raji Hassan:

Datum: Freitag, 4. April 2008

Uhrzeit: 12:00 Uhr - 13:00 Uhr (GMT +00:00)

Kvnnen wir mit Ihnen rechnen? Einladung beantworten unter:

http://calendar.yahoo.com/rajihassan2?v=126&a1=0&iid=ThAj%%40s7dcL5h%%40E6j4xE3%...

Copyright )  2008 Alle Rechte vorbehalten.
www.yahoo.de

Datenschutzhinweise:
http://privacy.yahoo.com/privacy/de

AGB:
http://de.docs.yahoo.com/info/utos.html
no comments
  pfctl.c style(9)         


Author: gleydson soares
Date: Apr 4, 2008 10:10

Index: pfctl.c
===================================================================
RCS file: /cvs/src/sbin/pfctl/pfctl.c,v
retrieving revision 1.273
diff -u -r1.273 pfctl.c
--- pfctl.c 13 Feb 2008 19:55:12 -0000 1.273
+++ pfctl.c 3 Apr 2008 21:01:13 -0000
@@ -56,7 +56,7 @@
#include "pfctl_parser.h"
#include "pfctl.h"

-void usage(void);
+__dead void usage(void);
int pfctl_enable(int, int);
int pfctl_disable(int, int);
int pfctl_clear_stats(int, int);
@@ -221,7 +221,7 @@
"none", "basic", "profile", NULL
};
Show full article (0.60Kb)
no comments
  Remove useless code in aucat(1)         


Author: Pierre Riteau
Date: Apr 4, 2008 10:10

Hi.

There's code in aucat.c which tries to reopen the audio device every
time we play a file if it wasn't open, but if we can't open the device
at the very beginning we err(), so this code is useless.

While here, switch usage to __dead.

Pierre Riteau

Index: aucat.c
===================================================================
RCS file: /home/priteau/cvs/src/usr.bin/aucat/aucat.c,v
retrieving revision 1.13
diff -p -u -r1.13 aucat.c
--- aucat.c 20 Mar 2007 23:35:15 -0000 1.13
+++ aucat.c 3 Apr 2008 20:23:48 -0000
@@ -46,11 +46,11 @@
* uncompressed WAVE RIFF files
*/
Show full article (2.11Kb)
no comments
  Re: xenocara build fails on -current         


Author: Amarendra Godbole
Date: Apr 4, 2008 10:09

On Fri, Mar 28, 2008 at 3:20 PM, Amarendra Godbole
gmail.com> wrote:
> On Fri, Mar 28, 2008 at 2:40 PM, Matthieu Herrb wrote:
>>
>> You need 3 things after the recent changes in the xenocara build system:
>>
>> - make sure your base system is current first (at least /usr/share/mk
>> should contain the new bsd.xconf.mk file)
>
> It is.
> # $OpenBSD: bsd.xconf.mk,v 1.1 2008/03/25 23:35:56 matthieu Exp $
>
>
>> - wipe you ${XOBJDIR} before starting the xenocara build
>> - run 'make bootstrap', then 'make obj', then 'make build'.
>
> No luck. Same issues as earlier. Now that it works for you, most
> likely then it is a local problem for me. Let me see what can I find
> out, and I shall post my findings. Thanks.
[...] ...
Show full article (1.92Kb)
no comments
  Work At Home Business         


Author: pibph
Date: Apr 4, 2008 10:06

Hi,

How about $50000/year?

http://vilmacroftsp899.blogspot.com

Bye!
no comments
  macppc stack problems with gdb and gcc -ggdb3 ?         


Author: Devin Smith
Date: Apr 4, 2008 10:02

Hi,

I can not seem to figure out why I can't debug some programs on
OpenBSD/macppc. It seems to me that the -ggdb3 switch given to gcc is
broken on macppc. I've created a sample program that should show the
problem. Please compile it with the -ggdb3 flag and then you can see
the problem if you put a breakpoint in read_struct with gdb. What
happens is that the variables in the argument list are incorrect.
Also, if you take away the extra buf[512] the problem goes away. In my
opinion the stack is messed up. The unused variable buf is not
required for this program but it's there to illustrate the problem
since it is required for some larger more complicated programs.

I can get around the problem if I use the -g switch instead of -ggdb3.
The -ggdb3 flag works fine on i386 (the only other machine I have to
test on). I would be curious to see if this switch also works on
other architectures.

Is this a known problem?

#include
#include
Show full article (2.28Kb)
no comments
  I need your urgent response         


Author: Tom Aliu
Date: Apr 4, 2008 09:58

You are invited to "I need your urgent response".

By your host Tom Aliu:

Date: Friday April 4, 2008

Time: 12:00 am - 1:00 am (GMT +00:00 GMT Britain, Ireland, Portugal)

Will you attend? RSVP to this invitation at:

http://calendar.yahoo.com/tomaliu4?v=126&a1=0&iid=ahU34rh%%40qdJTaj358hAJN%%40pdWgb%%40&igid...

Copyright ) 2008 All Rights Reserved
www.yahoo.com

Privacy Policy:
http://privacy.yahoo.com/privacy/us

Terms of Service:
http://docs.yahoo.com/info/terms/
no comments
  Re: cwm(1) diff         


Author: Tim van der Molen
Date: Apr 4, 2008 09:51

On Wed, 19 Mar 2008 00:56:13 +0100, Tim van der Molen wrote:
> This diff makes cwm's `exec' dialogues search for executables in $PATH
> first before falling back on the default path. This also matches the
> behaviour of execvp(3) (which is used to execute the selected
> executable).
>
> I removed the comment because I think that with this change, no further
> configuration would be required here.

Assuming there are no objections, could someone please commit this?
Thanks.

Regards,
Tim
Show full article (1.21Kb)
no comments
1 2