History log of /freebsd-10-stable/sbin/geom/class/part/geom_part.c
Revision Date Author Comments
# 319258 30-May-2017 asomers

MFC r316535:

Fix memory leak in "gpart bootcode"

Also, annotate that gpart_issue never returns

Reported by: Coverity
CID: 1007105
Sponsored by: Spectra Logic Corp


# 298628 26-Apr-2016 ae

MFC r297820:
Fix the problem, when gpart(8) can't write both bootcode and partcode
in one command due to wrong file size limit. Do not use bootcode size
to calculate partsize limit.
Also add report message about successful partcode writing.


# 285936 28-Jul-2015 ae

MFC r285735:
lseek() allows an offset to be set beyond the end of file. Using
it to check that partition has enough space to write bootcode doesn't
work. Use the known size of provider instead.

PR: 201504


# 281303 09-Apr-2015 mav

MFC r280687: Make GEOM_PART work in presence of previous withered self.


# 279646 05-Mar-2015 ae

MFC r279324:
When gpart(8) is trying automatically determine the first available
block of free space after existing partition, take into account
provider's stripeoffset, since the result will be adjusted to this
value.

PR: 197989


# 259311 13-Dec-2013 asomers

MFC 257006

sbin/geom/class/part/geom_part.c
Always validate the return of find_geomcfg(). It could be NULL, for
example when the geom is withering.

Approved by: ken (mentor)
Sponsored by: Spectra Logic Corporation


# 285936 28-Jul-2015 ae

MFC r285735:
lseek() allows an offset to be set beyond the end of file. Using
it to check that partition has enough space to write bootcode doesn't
work. Use the known size of provider instead.

PR: 201504


# 281303 09-Apr-2015 mav

MFC r280687: Make GEOM_PART work in presence of previous withered self.


# 279646 05-Mar-2015 ae

MFC r279324:
When gpart(8) is trying automatically determine the first available
block of free space after existing partition, take into account
provider's stripeoffset, since the result will be adjusted to this
value.

PR: 197989


# 259311 13-Dec-2013 asomers

MFC 257006

sbin/geom/class/part/geom_part.c
Always validate the return of find_geomcfg(). It could be NULL, for
example when the geom is withering.

Approved by: ken (mentor)
Sponsored by: Spectra Logic Corporation