Re: CVS commit: src/sbin/disklabel

2015-07-18 Thread Izumi Tsutsui
htodd@ wrote: > Module Name: src > Committed By: htodd > Date: Sat Jul 18 06:00:46 UTC 2015 > > Modified Files: > src/sbin/disklabel: bswap.c > > Log Message: > Fix build. Ah, I tested it only in src/tools/disklabel. Thanks. --- Izumi Tsutsui

Re: CVS commit: src/sbin/disklabel

2013-05-15 Thread Christos Zoulas
On May 15, 9:48am, tsugutomo.en...@jp.sony.com (tsugutomo.en...@jp.sony.com) wrote: -- Subject: Re: CVS commit: src/sbin/disklabel | Christos Zoulas writes: | | > Are you worried about efficiency here? Yes, you can fix it differently | > by checking if LABEL_OFFSET fits. | | I don&#

Re: CVS commit: src/sbin/disklabel

2013-05-15 Thread David Laight
On Wed, May 15, 2013 at 09:48:03AM +0900, tsugutomo.en...@jp.sony.com wrote: > Christos Zoulas writes: > > > Are you worried about efficiency here? Yes, you can fix it differently > > by checking if LABEL_OFFSET fits. > > I don't worry about efficiency. > > I've just noticed build failure on i

Re: CVS commit: src/sbin/disklabel

2013-05-14 Thread tsugutomo . enami
Christos Zoulas writes: > Are you worried about efficiency here? Yes, you can fix it differently > by checking if LABEL_OFFSET fits. I don't worry about efficiency. I've just noticed build failure on i386, and wondering what was wrong. I thought it would be better if warned when LABEL_OFFSET

Re: CVS commit: src/sbin/disklabel

2013-05-14 Thread Christos Zoulas
In article , wrote: >> Modified Files: >> src/sbin/disklabel: main.c >> >> Log Message: >> CVE 1020933: Prevent integer overflow by using wider type >> >> To generate a diff of this commit: >> cvs rdiff -u -r1.33 -r1.34 src/sbin/disklabel/main.c > >Since the variable `offset' in find_la

Re: CVS commit: src/sbin/disklabel

2013-05-13 Thread tsugutomo . enami
> Modified Files: > src/sbin/disklabel: main.c > > Log Message: > CVE 1020933: Prevent integer overflow by using wider type > > To generate a diff of this commit: > cvs rdiff -u -r1.33 -r1.34 src/sbin/disklabel/main.c Since the variable `offset' in find_label() is used to express an offs

Re: CVS commit: src/sbin/disklabel

2011-07-26 Thread David Laight
On Tue, Jul 26, 2011 at 09:56:24AM +0200, Alan Barrett wrote: > On Mon, 25 Jul 2011, Christos Zoulas wrote: > >Modified Files: > > src/sbin/disklabel: disklabel.8 > > > >Log Message: > >mention that we don't handle more than 2TB disks/partitions. > > I think the limit's actually (2**32 - 1) se

Re: CVS commit: src/sbin/disklabel

2011-07-26 Thread Alan Barrett
On Mon, 25 Jul 2011, Christos Zoulas wrote: Modified Files: src/sbin/disklabel: disklabel.8 Log Message: mention that we don't handle more than 2TB disks/partitions. I think the limit's actually (2**32 - 1) sectors. With 512-byte sectors, that's one sector less than 2TB. --apb (Alan

Re: CVS commit: src/sbin/disklabel

2011-01-10 Thread Alan Barrett
On Sun, 09 Jan 2011, Izumi Tsutsui wrote: > > Modified Files: > > src/sbin/disklabel: interact.c main.c printlabel.c > > > > Log Message: > > Change printf formats to match the data type of the values being > > printed. There's now a lot of PRIu16 and PRIu32, some PRIu8, some > > SCNu32, and

Re: CVS commit: src/sbin/disklabel

2011-01-08 Thread Izumi Tsutsui
> Modified Files: > src/sbin/disklabel: interact.c main.c printlabel.c > > Log Message: > Change printf formats to match the data type of the values being > printed. There's now a lot of PRIu16 and PRIu32, some PRIu8, some > SCNu32, and a few cases where %u and %d were reversed. Probably y