[Bug 201052] capsicum: propagate rights on accept / sctp_peeloff

2015-06-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201052

Mariusz Zaborski osho...@freebsd.org changed:

   What|Removed |Added

   Assignee|freebsd-bugs@FreeBSD.org|osho...@freebsd.org
 CC||osho...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org


[Bug 201053] capsicum: pdfork() should reject invalid values in its flags field

2015-06-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201053

Bug ID: 201053
   Summary: capsicum: pdfork() should reject invalid values in its
flags field
   Product: Base System
   Version: 11.0-CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: kern
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: ema...@freebsd.org

Test case Pdfork.InvalidFlag available in
https://github.com/google/capsicum-test

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org


[Bug 201054] capsicum: waitpid(-1,..) is seeing pdfork()ed children when it shouldn't

2015-06-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201054

Mariusz Zaborski osho...@freebsd.org changed:

   What|Removed |Added

 CC||osho...@freebsd.org
   Assignee|freebsd-bugs@FreeBSD.org|osho...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org


[Bug 201051] Installer doesn't create zfs dataset for non-standard home

2015-06-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201051

Bug ID: 201051
   Summary: Installer doesn't create zfs dataset for non-standard
home
   Product: Base System
   Version: 10.1-RELEASE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: misc
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: free...@schukraft.org

During installation I created a user with a home directory of /usr/home/$USER
(for cosmetic reasons in a few tools I use) instead of the standard
/home/$USER.
This doesn't create a separate ZFS dataset in that directory. Is this
intentional?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org


[Bug 201053] capsicum: pdfork() should reject invalid values in its flags field

2015-06-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201053

Ed Maste ema...@freebsd.org changed:

   What|Removed |Added

 CC||ema...@freebsd.org
   Assignee|freebsd-bugs@FreeBSD.org|jonat...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org


[Bug 201062] Calendar did not show Father's day on June 22, 2015 using calendar.usholiday

2015-06-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201062

Bug ID: 201062
   Summary: Calendar did not show Father's day on June 22, 2015
using calendar.usholiday
   Product: Base System
   Version: 10.1-STABLE
  Hardware: amd64
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: bin
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: comet.berke...@gmail.com

Created attachment 158000
  -- https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158000action=edit
Calendar Father's Day patch

The calendar.usholiday file contains 42 lines of which 2 are relevant to June
21, 2015:
06/SunThird Father's Day (3rd Sunday of June)
06/21*  Summer Solstice

My .calendar/calendar file includes this one line:
#include calendar.usholiday

And when calendar runs it should show two lines out, one for Father's Day and
one for the Solstice:

$calendar -t21.6.2015
Jun 21* Summer Solstice

I patched the code (calendar.c and parsedata.c) and the problem seems to be
fixed.

$calendar -t21.6.2015
Jun 21* Summer Solstice
Jun 21* Father's Day (3rd Sunday of June)

To debug this it was helpful to set the debug_remember flag in
the dates.c code.  This flag is a global integer and can be set from calendar.c
when the -d option (debug) is set.

In parsedata.c, the calculation of the first day of the recurring weekdays is
wrong as it is trying to calculate a day of the month but will always return an
integer in the range 0-6.  0 is always wrong...

It was:
d = (idayofweek - dow + 8) % 7;

But should be:
d = (idayofweek - dow + 7) % 7 + 1;  

Additionally the variable dow can be -1 and when it is the code should probably
stop (continue) so a better patch is this:

if (dow  0)
continue;
d = (idayofweek - dow + 7) % 7 + 1;

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org


[Bug 201026] rtld-elf reaches divide-by-zero in symlook_obj on 11.0-CURRENT

2015-06-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201026

gmbro...@vcu.edu changed:

   What|Removed |Added

 Status|New |Closed
 Resolution|--- |FIXED

--- Comment #2 from gmbro...@vcu.edu ---
Relinking libfontenc with newer GNU ld from devel/binutils fixes this behavior

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org


[Bug 200993] camcontrol commands results in Periph destroyed on mrsas

2015-06-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200993

Sibananda Sahu sibananda.s...@avagotech.com changed:

   What|Removed |Added

 CC||sibananda.s...@avagotech.co
   ||m

--- Comment #2 from Sibananda Sahu sibananda.s...@avagotech.com ---
Hi Phil,

The driver version that you are using is :
dev.mrsas.0.driver_version: 06.704.01.01-fbsd

Which is quite old.

You can take the latest mrsas(4) driver from
http://svn.freebsd.org/base/head/sys/dev/mrsas
Driver version : 06.707.04.03-fbsd
Revision number is: r284697

Please let me know if you see the same issue on the latest driver.


Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org


[Bug 201052] capsicum: propagate rights on accept / sctp_peeloff

2015-06-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201052

Bug ID: 201052
   Summary: capsicum: propagate rights on accept / sctp_peeloff
   Product: Base System
   Version: 11.0-CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: kern
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: ema...@freebsd.org

A new fd generated from accept() or sctp_peeloff() should inherit the rights of
the original fd (cf.
https://lists.cam.ac.uk/pipermail/cl-capsicum-discuss/2014-February/msg1.html)

Test case available in https://github.com/google/capsicum-test

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org


[Bug 201054] capsicum: waitpid(-1,..) is seeing pdfork()ed children when it shouldn't

2015-06-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201054

Bug ID: 201054
   Summary: capsicum: waitpid(-1,..) is seeing pdfork()ed children
when it shouldn't
   Product: Base System
   Version: 11.0-CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: kern
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: ema...@freebsd.org

Test case PipePdfork.WildcardWait available in
https://github.com/google/capsicum-test

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org


[Bug 201066] [fusefs] fuse module possibly blocking ordinary users access glusterfs mounts

2015-06-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201066

Bug ID: 201066
   Summary: [fusefs] fuse module possibly blocking ordinary users
access glusterfs mounts
   Product: Base System
   Version: 10.1-RELEASE
  Hardware: amd64
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: kern
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: craig...@lerwick.hopto.org

We are trying to port glusterfs to FreeBSD
There is a port candidate WIP;
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194409

Unfortunately we have hit a problem.  

We don't seem to be allowing ordinary users to access the mounts.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194409#c10

I am experiencing the same with 3.7.2

#
craig@zbox:/data/brick1 sudo glusterfs --volfile-id=gv0 --volfile-server=zbox
/mnt/glusterfs

craig@zbox:/data/brick1 mount | grep fuse
/dev/fuse on /mnt/glusterfs (fusefs, local, synchronous)

craig@zbox:/data/brick1 ls -ld /mnt/glusterfs
drwxr-xr-x  4 root  wheel  9 23 Jun 02:36 /mnt/glusterfs

craig@zbox:/data/brick1 ls /mnt/glusterfs/
ls: /mnt/glusterfs/: Operation not permitted

craig@zbox:/data/brick1 id
uid=1001(craig) gid=1001(craig)
groups=1001(craig),0(wheel),5(operator),145(webcamd),193(cups),194(saned)

craig@zbox:/data/brick1 sudo ls /mnt/glusterfs/
.trashcan  yahoo
#

Please could we have some help to diagnose the issue to see if we can get it
resolved.

I can raise a Bugreport to the GlusterFS team if it's their code at fault.

Kind Regards

Craig Butler

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org


[Bug 201066] [fusefs] fuse module possibly blocking ordinary users access glusterfs mounts

2015-06-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201066

craig...@lerwick.hopto.org changed:

   What|Removed |Added

 Blocks||194409

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org