mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
common: Detailed platform-specific FIXME
Signed-off-by: Mathieu Parent <math.parent@gmail.com> (This used to be ctdb commit d202b2fdd4fd70172e5e44583627b57a1b7ad2ed)
This commit is contained in:
parent
e6cf53635d
commit
384b9b2a7b
@ -359,6 +359,7 @@ int ctdb_sys_read_tcp_packet(int s, void *private_data,
|
||||
|
||||
bool ctdb_sys_check_iface_exists(const char *iface)
|
||||
{
|
||||
/* FIXME AIX: Interface always considered present */
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -375,18 +376,18 @@ int ctdb_get_peer_pid(const int fd, pid_t *peer_pid)
|
||||
|
||||
char *ctdb_get_process_name(pid_t pid)
|
||||
{
|
||||
/* FIXME: not implemented */
|
||||
/* FIXME AIX: get_process_name not implemented */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
bool ctdb_get_lock_info(pid_t req_pid, struct ctdb_lock_info *lock_info)
|
||||
{
|
||||
/* FIXME: not implemented */
|
||||
/* FIXME AIX: get_lock_info not implemented */
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ctdb_get_blocker_pid(struct ctdb_lock_info *reqlock, pid_t *blocker_pid)
|
||||
{
|
||||
/* FIXME: not implemented */
|
||||
/* FIXME AIX: get_blocker_pid not implemented */
|
||||
return false;
|
||||
}
|
||||
|
@ -75,7 +75,7 @@ static uint16_t tcp_checksum6(uint16_t *data, size_t n, struct ip6_hdr *ip6)
|
||||
*/
|
||||
int ctdb_sys_send_arp(const ctdb_sock_addr *addr, const char *iface)
|
||||
{
|
||||
/* FIXME We dont do gratuitous arp on Hurd yet */
|
||||
/* FIXME FreeBSD: We dont do gratuitous arp yet */
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -360,29 +360,30 @@ int ctdb_sys_read_tcp_packet(int s, void *private_data,
|
||||
|
||||
bool ctdb_sys_check_iface_exists(const char *iface)
|
||||
{
|
||||
/* FIXME FreeBSD: Interface always considered present */
|
||||
return true;
|
||||
}
|
||||
|
||||
int ctdb_get_peer_pid(const int fd, pid_t *peer_pid)
|
||||
{
|
||||
/* FIXME not implemented */
|
||||
/* FIXME FreeBSD: get_peer_pid not implemented */
|
||||
return 1;
|
||||
}
|
||||
|
||||
char *ctdb_get_process_name(pid_t pid)
|
||||
{
|
||||
/* FIXME: not implemented */
|
||||
/* FIXME FreeBSD: get_process_name not implemented */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
bool ctdb_get_lock_info(pid_t req_pid, struct ctdb_lock_info *lock_info)
|
||||
{
|
||||
/* FIXME: not implemented */
|
||||
/* FIXME FreeBSD: get_lock_info not implemented */
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ctdb_get_blocker_pid(struct ctdb_lock_info *reqlock, pid_t *blocker_pid)
|
||||
{
|
||||
/* FIXME: not implemented */
|
||||
/* FIXME FreeBSD: get_blocker_pid not implemented */
|
||||
return false;
|
||||
}
|
||||
|
@ -74,7 +74,7 @@ static uint16_t tcp_checksum6(uint16_t *data, size_t n, struct ip6_hdr *ip6)
|
||||
*/
|
||||
int ctdb_sys_send_arp(const ctdb_sock_addr *addr, const char *iface)
|
||||
{
|
||||
/* FIXME We dont do gratuitous arp on Hurd yet */
|
||||
/* FIXME GNU/Hurd: We dont do gratuitous arp yet */
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -353,29 +353,30 @@ int ctdb_sys_read_tcp_packet(int s, void *private_data,
|
||||
|
||||
bool ctdb_sys_check_iface_exists(const char *iface)
|
||||
{
|
||||
/* FIXME GNU/Hurd: Interface always considered present */
|
||||
return true;
|
||||
}
|
||||
|
||||
int ctdb_get_peer_pid(const int fd, pid_t *peer_pid)
|
||||
{
|
||||
/* FIXME not implemented */
|
||||
/* FIXME GNU/Hurd: get_peer_pid not implemented */
|
||||
return 1;
|
||||
}
|
||||
|
||||
char *ctdb_get_process_name(pid_t pid)
|
||||
{
|
||||
/* FIXME: not implemented */
|
||||
/* FIXME GNU/Hurd: get_process_name not implemented */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
bool ctdb_get_lock_info(pid_t req_pid, struct ctdb_lock_info *lock_info)
|
||||
{
|
||||
/* FIXME: not implemented */
|
||||
/* FIXME GNU/Hurd: get_lock_info not implemented */
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ctdb_get_blocker_pid(struct ctdb_lock_info *reqlock, pid_t *blocker_pid)
|
||||
{
|
||||
/* FIXME: not implemented */
|
||||
/* FIXME GNU/Hurd: get_blocker_pid not implemented */
|
||||
return false;
|
||||
}
|
||||
|
@ -74,7 +74,7 @@ static uint16_t tcp_checksum6(uint16_t *data, size_t n, struct ip6_hdr *ip6)
|
||||
*/
|
||||
int ctdb_sys_send_arp(const ctdb_sock_addr *addr, const char *iface)
|
||||
{
|
||||
/* FIXME We dont do gratuitous arp on Hurd yet */
|
||||
/* FIXME kFreeBSD: We dont do gratuitous arp yet */
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -353,29 +353,30 @@ int ctdb_sys_read_tcp_packet(int s, void *private_data,
|
||||
|
||||
bool ctdb_sys_check_iface_exists(const char *iface)
|
||||
{
|
||||
/* FIXME kFreeBSD: Interface always considered present */
|
||||
return true;
|
||||
}
|
||||
|
||||
int ctdb_get_peer_pid(const int fd, pid_t *peer_pid)
|
||||
{
|
||||
/* FIXME not implemented */
|
||||
/* FIXME kFreeBSD: get_peer_pid not implemented */
|
||||
return 1;
|
||||
}
|
||||
|
||||
char *ctdb_get_process_name(pid_t pid)
|
||||
{
|
||||
/* FIXME: not implemented */
|
||||
/* FIXME kFreeBSD: get_process_name not implemented */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
bool ctdb_get_lock_info(pid_t req_pid, struct ctdb_lock_info *lock_info)
|
||||
{
|
||||
/* FIXME: not implemented */
|
||||
/* FIXME kFreeBSD: get_lock_info not implemented */
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ctdb_get_blocker_pid(struct ctdb_lock_info *reqlock, pid_t *blocker_pid)
|
||||
{
|
||||
/* FIXME: not implemented */
|
||||
/* FIXME kFreeBSD: get_blocker_pid not implemented */
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user