vfs: check userland buffers before reading them.
[haiku.git] / src / system / kernel / fs / vfs_net_boot.h
blobc2f16d0b47b69214c2363a877775ee7c44f5b433
1 /*
2 * Copyright 2007, Ingo Weinhold, bonefish@cs.tu-berlin.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _VFS_NET_BOOT_H
6 #define _VFS_NET_BOOT_H
9 #include "vfs_boot.h"
12 int compare_image_boot(const void *_a, const void *_b);
15 class NetBootMethod : public BootMethod {
16 public:
17 NetBootMethod(const KMessage& bootVolume, int32 method);
18 virtual ~NetBootMethod();
20 virtual status_t Init();
22 virtual bool IsBootDevice(KDiskDevice* device, bool strict);
23 virtual bool IsBootPartition(KPartition* partition, bool& foundForSure);
24 virtual void SortPartitions(KPartition** partitions, int32 count);
28 #endif // _VFS_NET_BOOT_H